Subject: Re: Redirecting STDOUT

2007-04-02 Thread Matthew Ramadanovic
Yes, it definitely could be. I had the same problem once and fixed it by upgrading to 5.8 -Matt >I've had the same problem using qx too. Could it be that I'm using PERL >5.6? >Chris ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveS

Re: Redirecting STDOUT

2007-04-02 Thread Martin . Miller
>Hi everyone, >I saw the following on another PERL list-serve: >"If you are on windows, then see perlfaq8 if ActiveState perl for >how to redirect STDOUT and STDERR when doing backticks." >I'd like to be able to capture STDOUT as a string. But nothing on perlfaq8 struck me as relevant. Did I m

Re: Redirecting STDOUT

2007-04-02 Thread Alexander Apprich
Chris Rodriguez wrote: > > > */Bill Luebkert <[EMAIL PROTECTED]>/* wrote: > > Chris Rodriguez wrote: > > Hi everyone, > > I saw the following on another PERL list-serve: > > > > "If you are on windows, then see perlfaq8 if ActiveState perl for > > how to redir

Re: Redirecting STDOUT

2007-04-02 Thread Bill Luebkert
Chris Rodriguez wrote: > > Hi. "cmd" refers to any command, right? Neither formulation works for > me. If I do: > $output = `perl -c somescript.pl`; > I see "somescript.pl syntax OK" on the screen, and the variable $output > remains unassigned. If I do: > $output = `perl -c somescript.pl 2>&