On Sun, 1 Sep 2002 23:10:18 +0200 Reinier Post <[EMAIL PROTECTED]> wrote:
> On Wed, Aug 28, 2002 at 01:08:41PM -0400, Thurn, Martin (Intranet) wrote: >>>> LWP::RobotUA=HASH(0x83d7994) GET 1 ...Can't locate object method "host" >>>> via package >>>> "URI::_generic" (perhaps you forgot to load "URI::_generic"?) at >> >> That's the message you get when your URL does not have something like >> 'http:/' in front of it. >> >> WHY DON'T YOU PRINT OUT THE VALUE OF THE VARIABLES IN YOUR PROGRAM? >> THAT'S THE FIRST STEP IN DEBUGGING. GO BACK TO 8TH GRADE PROGRAMMING CLASS. >> YOU WOULD SEE IMMEDIATELY THAT WHAT YOU'RE TREATING AS A URL IS NOT A URL. > > LWP already saw it, but it kept its knowledge to itself. > A better error message would help here ... All patches will be thoroughly considered. -- Mac :}) ** I normally forward private questions to the appropriate mail list. ** Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html Give a hobbit a fish and he eats fish for a day. Give a hobbit a ring and he eats fish for an age.
