Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Why would LWP::Simple::get stop working?by dpmott (Scribe) |
on Jun 20, 2005 at 20:05 UTC ( [id://468476]=note: print w/replies, xml ) | Need Help?? |
This suggestion is getting me closer. It turns out that you must have a 'use' statement that looks like this to get access to the $ua object: If you want to use get() without fully qualifying it, then you also have to include that along with $ua. When I specify the '$ua' in the import list, everything starts working, and working well. If I do not specify anything in the import list, then LWP::Simple::get() or just get() never returns. It looks like my PPM is broken, too, so I think that I have a re-install in my near future. I must've gotten my hands on a bad module somewhere...
In Section
Seekers of Perl Wisdom
|
|