Think about Loose Coupling | |
PerlMonks |
LWP::UserAgent error responceby sdyates (Scribe) |
on Sep 20, 2002 at 16:37 UTC ( [id://199523]=perlquestion: print w/replies, xml ) | Need Help?? |
sdyates has asked for the wisdom of the Perl Monks concerning the following question: Well, I am not getting what I want from LWP::UserAgent. Perhaps I am not asking the right question, or perhaps I need to use a different module I am able to use $res->content to dump the responce of a positive query. However, I cannot get a failed responce to generate any text. Just like using a simple browser, if I get a 404, I want to see this and process it. When I try and process $res->content after a failed responce, I have a null dump! Any ideas? Thanks in advance guys Simon
Back to
Seekers of Perl Wisdom
|
|