Hi all,

I am relatively new to Perl and my background is not programming although I quite 
enjoy manipulating text using Perl, with this in
mind I would appreciate any replies being kept relatively simple, if that's possible.

My problem, I am running an exe file within perl and receiving the message 'invalid 
switch' when I use the redirect symbol (>) to
output to a file, the script still performs the required operation but it would be 
nice to remove this message. There follows an
example of the code I am using:

  system("spam -momittag -c $tooldir/nsgmls.cat $dtddir/$.dtd $file >$newfile");

Thanking you in advance,
Keith



Reply via email to