> $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/perl6-language-io@perl.org/msg00082.html -Nate
- Re: RFC 14 (v3) Modify open() to support FileObjects a... Jon Ericson
- Re: RFC 14 (v3) Modify open() to support FileObje... Nathan Wiger
- Re: RFC 14 (v3) Modify open() to support File... Jon Ericson
- Re: RFC 14 (v3) Modify open() to support ... Nathan Wiger
- Re: RFC 14 (v3) Modify open() to supp... Jonathan Scott Duff
- Re: RFC 14 (v3) Modify open() to supp... Nathan Wiger
- Re: RFC 14 (v3) Modify open() to supp... Jonathan Scott Duff
- Re: RFC 14 (v3) Modify open() to supp... Nathan Wiger
- Re: RFC 14 (v3) Modify open() to supp... Casey R. Tweten
- Re: RFC 14 (v3) Modify open() to supp... Jonathan Scott Duff
- Re: RFC 14 (v3) Modify open() to supp... Nathan Wiger
- Re: RFC 14 (v3) Modify open() to supp... Jonathan Scott Duff
- Re: RFC 14 (v3) Modify open() to supp... Nathan Wiger
- Re: RFC 14 (v3) Modify open() to supp... Nathan Wiger
- Re: RFC 14 (v3) Modify open() to supp... Casey R. Tweten
- Re: RFC 14 (v3) Modify open() to supp... Joe McMahon
- Re: RFC 14 (v3) Modify open() to supp... Jon Ericson
- Re: RFC 14 (v3) Modify open() to supp... Kai Henningsen
- Re: RFC 14 (v3) Modify open() to support FileObjects a... Jonathan Scott Duff
- Re: RFC 14 (v3) Modify open() to support FileObje... Chaim Frenkel
- Re: RFC 14 (v3) Modify open() to support File... Jonathan Scott Duff