On Wed, May 04, 2005 at 08:47:17AM -0400, Aaron Sherman wrote:
: I would expect "open" to be a bit of an anachronism in P6, but still
: used fairly often. For the most part, I would expect that:
: 
:       my IO $read_fh = '/some/path' => 'r'; # Get an IO::File (is IO)
:       my IO $write_fh = '/other/path' => '>'; # Get IO::File
:       my IO $pipe_fh = 'program args' => $IO::ReadPipe; # Get IO::Pipe
:       my IO $sock_fh = 'http://www.perl.org/' => $IO::URI; # Get IO::Socket
: 
: would just DWIM. But, perhaps I'm expecting too much...

Um, yes.

Larry

Reply via email to