in reply to Redirecting System command output !!

Why are you even bothering with system? If you want to capture the output you are almost certainly better off using qx, especially considering the return values on Win32 are probably less than useful.

--
perl -pew "s/\b;([mnst])/'$1/g"

  • Comment on Re: Redirecting System command output !!