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

RE: URI Bug?

Thread Previous | Thread Next
Thurn, Martin
November 23, 2002 10:37
RE: URI Bug?
Message ID:
> "Can't locate object method "host" via package 
> "URI::_generic" (perhaps you forgot to load "URI::_generic"?) 

That's the error you get whenever you try to create a URI with a scheme that
it doesn't know about.  You should either check the scheme yourself, or wrap
the 'new URI' in an eval.

Perl & LWP book

 - - Martin 'Kingpin' Thurn 

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About