On 23/05/2011 13:02, Irfan Sayed wrote:
> hi all,
>
> i am using following command to build the solution file using perl
>
> perl says some error :
>
> following is the error :
>
> Bareword found where operator expected at -e line 1, near "qx/C:\\Program
> Files\
> \Microsoft Visual Studio .NET 2003\\Common7\\IDE\\devenv /rebuild"
> syntax error at -e line 1, near "qx/C:\\Program Files\\Microsoft Visual
> Studio .
> NET 2003\\Common7\\IDE\\devenv /rebuild release "
> Execution of -e aborted due to compilation errors.
>
> following is the actual command :
>
> L:\Console>perl -e qx/"C:\\Program Files\\Microsoft Visual Studio .NET
> 2003\\Com
> mon7\\IDE\\devenv /rebuild release abc.sln /useenv"/;
>
> plz suggest on how to correctly format the command so that perl can execute
> that command
>
> this is on windows
> plz suggest
Hi Irfan.
Try this
perl -e "qx{\"C:\\Program Files (x86)\\Microsoft Visual Studio
10.0\\Common7\\IDE\\devenv\" /rebuild release RMSDC.sln /useenv}"
(Although I don't understand why you need to execute the command through
Perl instead of directly.)
Rob
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/