On Mon, 23 Dec 2013 15:02:13 -0800 Kenneth Wolcott <[email protected]> wrote:
> open my $fh, @cmd, "|" or die "blah: $!\n"; fails, "Unknown open()
> mode '5'"
If you use an array, it is _not_ sent thru the shell. Try the
three-argument open:
open my $fh, '-|', @cmd or die "blah: $!\n"; fails, "Unknown open()
mode '5'";
--
Don't stop where the ink does.
Shawn
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/
