Problems? Is your data what you think it is? | |
PerlMonks |
Re^3: Fetching Web Page and covert to textby apl (Monsignor) |
on Jul 17, 2009 at 13:03 UTC ( [id://781052]=note: print w/replies, xml ) | Need Help?? |
The write-up on LWP::Simple::get says:
You will not be able to examine the response code or response headers (like 'Content-Type') when you are accessing the web using this function. If you need that information you should use the full OO interface (see LWP::UserAgent).So if I was you, I'd follow that suggestion.
In Section
Seekers of Perl Wisdom
|
|