in reply to Capturing output from Child processes

I may be missing something, but won't backticks do the same thing? my $output = `process`; die($?) if ($?);

Replies are listed 'Best First'.
Re: Re: Capturing output from Child processes
by Biff (Acolyte) on Aug 06, 2003 at 19:26 UTC
    Yes. but...

    ...I have to start lots and lots of children (a variable amount) and the children will stay up way past their bed times ;-) (i.e. the children are packet simulators that never shut down).

    So backticks are fine for simple output from something like grep, etc that you're planning on waiting for but not for what I have to do.

    Biff