Subject: | Allow ordinary scalar for 'pipe' |
In recent perl versions you can use an ordinary scalar in open(), as:
open my $fh, '<', 'file' or die;
You no longer have to use bareword filehandles or get involved with the
details of taking glob references \*FH.
It would be good if the 'pipe' mode of IPC::Run allowed the same
convenience:
my $child_out;
start \@cmd, '<', '/dev/null', '>pipe', \$child_out, '2>', '/dev/null';
At the moment this gives 'Not a GLOB reference' from inside IPC::Run::IO.