Re: RFC 14 (v3) Modify open() to support FileObjects and
[email protected] (Nathan Wiger) Mon, 14 Aug 2000 15:01:54 -0700
| Newsgroups | perl.perl6.language.io |
|---|---|
| Organization | Sun Microsystems |
| Message-ID | <[email protected]> |
> $fh = open file "http://my.homepage.com"; Excellent point. Thanks Scott! :-) > or less verbose, > > $fh = open "<http://my.homepage.com"; This is still up in the air. I think this will probably end up doing a GET via the http handler on the webpage specified. That seems the most natural, since you'd probably want these to work the same: open http "<http://www.yahoo.com"; # GET open "<http://www.yahoo.com"; # GET also Which makes it consistent with these, which you'd assume would work the same: open ">>/var/log/mylog"; open ">>file:///var/log/mylog"; The bottom of this message proposes some http open modes: http://www.mail-archive.com/[email protected]/msg00082.html -Nate