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

Re: URI Bug?

Thread Previous
From:
Octavian Rasnita
Date:
November 21, 2002 19:25
Subject:
Re: URI Bug?
Message ID:
01b001c291d6$df1ec600$5f61e9d5@microsoft.com
I am also very curious about an answer to this problem because I also have
it when using cookies with the LWP module under Windows 2000, Perl 5.8.

Teddy,
Teddy's Center: http://teddy.fcc.ro/
Email: orasnita@home.ro

----- Original Message -----
From: "Darby Cacdac" <darby.cacdac@sun.com>
To: <libwww@perl.org>
Sent: Thursday, November 21, 2002 10:45 PM
Subject: URI Bug?


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 Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About