develooper Front page | perl.perl6.language | Postings from April 2001

Re: Larry's Apocalypse 1

Thread Previous | Thread Next
From:
Jarkko Hietaniemi
Date:
April 6, 2001 13:56
Subject:
Re: Larry's Apocalypse 1
Message ID:
20010406155621.S9907@chaos.wustl.edu
On Fri, Apr 06, 2001 at 08:42:18PM +0000, nick@ing-simmons.net wrote:
> Jarkko Hietaniemi <jhi@iki.fi> writes:
> >> But the structure you speak of exists only on the server. A URL as
> >> accessor reference doesn't really need to know anything about the opening
> >> of that path other than the fact that it is a URL. This renders it pretty
> >> useless as a structure to be interpreted *as* a structure as far as the
> >
> >if (open(BLAH, ">mailto:santa.claus@north.pole")) { ...
> 
> You mean something like:
> 
>      if (open(BLAH,">:URL","mailto:santa.claus@north.pole")) { ...
> 
> Now PerlIO/URL.pm has to know the semantics of /^mailto:/.
> If it does it can do DNS lookup for MX record for north.pole and
> presumably fail and return undef.
> 
> Oops sorry that is perl5 ;-)

Shoo! :-)

Having all that mess extensibly hidden in modules is okay.

> -- 
> Nick Ing-Simmons

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About