"Standardization" of Perl IO functions

2000-09-12 Thread Nathan Wiger
All- This is an idea I've been chewing on for some time. RFC 14 proposes a new syntax to open(): $FH = open dir "/usr/local/bin" or die "Badness: $!"; which is far different from the current open(). This is actually a more flexible and consistent syntax, with a cool feature I just came acros

Re: "Standardization" of Perl IO functions

2000-09-12 Thread Jon Ericson
Nathan Wiger wrote: > This is an idea I've been chewing on for some time. RFC 14 proposes a > new syntax to open(): > >$FH = open dir "/usr/local/bin" or die "Badness: $!"; > > which is far different from the current open(). This is actually a more > flexible and consistent syntax, with a co

Re: "Standardization" of Perl IO functions

2000-09-12 Thread Nathan Wiger
Jon Ericson wrote: > > Is a problem with writing these the other way around as well: > > @file = readline open(" print open(">>/var/log/logfile") "Hello, world!"; Currently - and by currently I mean that only RFC 14 was adopted and everything else stayed the same - these would have to be wr