On Oct 11, 2006, at 6:51 PM, Phil Crow wrote:


my $out = new IO::File( ">/dev/null" );
if ( not defined $out ) {
    die "couldn't open $dn for writing\n";
}

my $pid = open3( '<&STDIN', $out, '>&STDERR', 'ls' );


open3() can take IO::File objects as input? I don't see anything in its docs that indicates that.

On the other hand, I suppose it's just a (blessed) reference to a glob, which it does indeed say it can accept.

 -Ken

Reply via email to