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

RE: URI Bug?

Thread Previous | Thread Next
From:
Thurn, Martin
Date:
November 23, 2002 10:37
Subject:
RE: URI Bug?
Message ID:
7F4052F315B5B545B94096DC3973998502CA5D70@xcgva035.northgrum.com
> "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
http://www.amazon.com/exec/obidos/ASIN/0596001789/thestarwarscol06

--
 - - Martin 'Kingpin' Thurn 


Thread Previous | 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