Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

djberg96 (2603)

djberg96
  (email not shown publicly)

Journal of djberg96 (2603)

Monday June 03, 2002
11:20 AM

Perl 5.8

[ #5386 ]
I was reading over the changelog for Perl 5.8, and this one struck me as kinda cool.

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. :-P

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.