The list form of C<open> is now implemented for pipes (at least on UNIX):
open($fh,"-|", 'cat', '/etc/motd')
creates a pipe, and runs the equivalent of exec('cat', '/etc/motd') in
the child process.
So, basically a one line fork/exec, right?
Now, sometime this week I get to try and install Perl 5.8 on my BeOS partition (I'll try with and without BONE). I'm sure I'll have plenty of errors to report.
Perl 5.8 0 Comments More | Login | Reply /