extasia at extasia.org
Tue Sep 11 11:12:31 PDT 2007
Actually, this works, too, and is what I'll do when I want stderr
separated from stdout. Unless someone has a better idea.
open my $efh, '>&', \*STDERR or die "$pgm: can't dup stderr: $!\n";
my $pid = open3( my $wfh, my $rfh, $efh, qw( ls -ld foo bar ) );
 Do folks here who use open3 just intermingle them?
On 9/7/07, David Alban <extasia at extasia.org> wrote:
> On 9/7/07, David Alban <extasia at extasia.org> wrote:
> > Amusingly enough, then, this works:
> > my $efh = 1;
> > my $pid = open3( my $wfh, my $rfh, $efh, qw( ls -ld foo bar ) );
> As does:
> my $efh = 'mumble';
Live in a world of your own, but always welcome visitors.
More information about the SanFrancisco-pm