Front page | perl.libwww |
Postings from November 2002
From: Darby Cacdac
November 21, 2002 13:39
Message ID: 3DDD45FC.firstname.lastname@example.org
Im using the URI (1.22) module and I'm getting the error:
"Can't locate object method "host" via package "URI::_generic" (perhaps you forgot to load "URI::_generic"?) at /usr/perl5/site_perl/5.6.1/URI/WithBase.pm line 50."
It turns out that this error comes up when I'm doing a $url->host on a link that looks like this: <a href="httpthrds/index.html">. As long as the link starts with http* (aside from http://*) the error is triggered.
My systems is as follows:
- Solaris 9 on SPARC
- Perl 5.6.1