Admittedly, that wasn't particularly germane to the perl6 mailing
list; but it did bring up an issue that's been bothering me for a
while.

I would like to see Perl6 handle the equivalent of IPC::Open2 using
the same sort of syntax and semantics that it uses for sockets, by
default.  That is, I'd like to be able to say something like:

 $fh = "filename".open :rw; # same as open2 "filename", $in, $out;

 $line = =$fh; # same as $line = =$in;

 $fh.say "rewrite!"; # same as $out.say "rewrite!";

--
Jonathan "Dataweaver" Lang

Reply via email to