Another beginners question. Whats the idiom in perl for starting
a sub process with a filehandle, and getting both the STDOUT and
the STDERR of that process for subsequent parsing ??
I suppose what I have in mind is something like :-
open (CHILD, "child_process 2>&1 |"); # I don't think this works!
while (<CHILD>)
{
do_something_with_child_here;
Quote:
}
that is, to be able to read the child's STDOUT, and STDERR in order
to see when something horrid has happened to child_process.