Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^3: Checking for undef after performing get()by trammell (Priest) |
on Jan 10, 2006 at 15:08 UTC ( [id://522203]=note: print w/replies, xml ) | Need Help?? |
Sure; I'd do something like:
I'm assuming that the page actually has content here. If it's an empty string, the test should be The documenation in LWP::Simple does suggest using LWP::UserAgent if you need more information about the return code. Just a thought.
In Section
Seekers of Perl Wisdom
|
|