develooper Front page | perl.libwww | Postings from November 2002

URI Bug?

Thread Next
From:
Darby Cacdac
Date:
November 21, 2002 13:39
Subject:
URI Bug?
Message ID:
3DDD45FC.1040701@sun.com
Hi,

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

Thanks,
Darby






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