>         $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

Reply via email to