Dan Brian <[EMAIL PROTECTED]> writes:
>>      if (open(BLAH,">:URL","mailto:[EMAIL PROTECTED]")) { ...
>> 
>> 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 ;-)
>
>Which part? "Presumably", "fail", "undef" ? ;-)

Well no one has written PerlIO::URL yet so all you get is:

nick@dromedary 507$ cd /home/perl5/perlio
nick@dromedary 508$ ./perl -Ilib -e 
'open(BLAH,">:URL","mailto:[EMAIL PROTECTED]") || die $!'
Can't locate PerlIO/URL.pm in @INC (@INC contains: lib 
/usr/local/perl/lib/5.7.0/i686-linux-multi /usr/local/perl/lib/5.7.0 
/usr/local/perl/lib/site_perl/5.7.0/i686-linux-multi 
/usr/local/perl/lib/site_perl/5.7.0 
/usr/local/perl/lib/site_perl/5.6.1/i686-linux-multi 
/usr/local/perl/lib/site_perl/5.6.1 /usr/local/perl/lib/site_perl .) at (eval 1) line 
3.
perlio: unknown layer "URL".          

Of course they might want to write it in perl so that would be: 


nick@dromedary 509$ ./perl -Ilib -e 
'open(BLAH,">:Via(URL)","mailto:[EMAIL PROTECTED]") || die $!'
Cannot find package 'URL'.
Attempt to free unreferenced scalar.
Died.                   

Which shows a buglet ... 

and now I have mailto:santa.claus.pole which shows that I meant 

"mailto:santa.claus\@north.pole" anyway ...

-- 
Nick Ing-Simmons

Reply via email to