in reply to open2 does not work in mod perl

It *might* be because of the globs. Try this:

my($reader, $writer); $pid = open2($reader, $writer, $test_cmd);

Not sure it will make a difference, but worth a try.

Frank Wiles <frank@revsys.com>
www.revsys.com

Replies are listed 'Best First'.
Re^2: open2 does not work in mod perl
by Anonymous Monk on Jun 14, 2007 at 09:49 UTC
    No, it is not due to globs, I tried with locals, yet it fails