Re: BUG in URI::URL under -w

Gisle Aas (aas@bergen.sn.no)
18 Mar 1997 15:45:27 +0000


Randal Schwartz <merlyn@stonehenge.com> writes:

> $ perl -w -MURI::URL -e 'print url("http://barney/", "mailto:fred")->rel'
> Use of uninitialized value at /home/merlyn/lib/perl5/site_perl/auto/URI/URL/_generic/rel.al line 20.
> http://barney/
> $
> 
> Correct answer, but spurious warning.  Since my WebTechniques column is
> due today (:-), I'll have the workaround of turning off $^W while calling
> this routine.  <sigh>

Fixed in the next release.  Why does it make sense to have a
mailto:-URL as base it beyond me :-)

-- 
Gisle Aas <aas@sn.no>