Re: libwww-perl-5b7 problems
Gisle Aas (aas@bergen.sn.no)
Tue, 06 Feb 1996 18:34:51 +0100
In message <199602061433.PAA03437@dutifp.twi.tudelft.nl>, Hans de Graaff writes
:
> Just gave the b7 version a test-drive (with perl 5.002b3) on Solaris
> 2.4.
>
> A fairly large number of tests gave FAILED states. I didn't try to
> solve those yet. In fact, I'm not sure why the tests failed in the
> first place.
Bad news! I had no problems when running these tests on Linux or
SunOS4. Can you provide more information?
> When trying b7 with checkbot, I got the following error:
>
> Can't locate object method "abs" via package "URI::URL::mailto" at ./checkbot
line 387, <DATA> chunk 8.
>
> The description of URI::URL seems to indicate that abs() can be used
> on all URL's, so I was a bit surprised by this. Is this a bug in b7,
> or an oversight of mine?
I guess I forgot to mention this:-( I changed 'mailto' and 'news' URLs
not to subclass from _generic becase they do not follow the
"scheme://netloc/path;params?query#frag" syntax.
Perhaps just introducing an empty abs() in URI::URL would be the best
way to solve this problem.
I even noticed that LWP::UserAgent does this at point:
$scheme = $scheme->abs->scheme;
Thank you for pointing this out.
Regards,
Gisle Aas