Chris,

Do you absolutely need backticks? You can invoke a command/program and
capture stdin, stdout with OPEN2, and stderr with OPEN3. I haven't done it
in ActivePerl although I have in Unix. I do know they don't work well for
my purposes with another perl script, but they might work with a system
command or standard program.

On Sun, 1 Apr 2007, 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 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 miss something? How do I do
> >  this?  I frequently get drastic errors (my computer shuts down!) when
> >  I try to use backticks.
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to