On Mon, 9 Apr 2001, Dan Sugalski wrote:

> While I don't know if Larry will mandate it, I would like this code:
> 
>    open PAGE, "http://www.perl.org";
>    while (<PAGE>) {
>          print $_;
>    }
> 
> to dump the HTML for the main page of www.perl.org to get dumped to stdout.

I once created, on a Unix box, a directory named 'http:' and inside it, a
file named www.datenrevision.de. This enabled me to open
'http://www.datenrevision.de' and read from it (since multiple
consecutive slashes are generally treated as one slash on Unix) -- a
little playful fun.

Would your proposal imply that I would not be able to open this file any
more without resorting to "tricks" such as sysopen or './http://blabla'?

Just wondering.

Cheers,
Philip
-- 
Philip Newton <[EMAIL PROTECTED]>

Reply via email to