On Mon, 23 Dec 2013 15:02:13 -0800 Kenneth Wolcott <kennethwolc...@gmail.com> 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: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/