Perl 5.8

djberg96 on 2002-06-03T16:20:54

I was reading over the changelog for Perl 5.8, and this one struck me as kinda cool. The list form of C 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