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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: LWP::UserAgent error responce
by Helter (Chaplain) on Sep 20, 2002 at 17:19 UTC | |
|
Re: LWP::UserAgent error responce
by Solo (Deacon) on Sep 20, 2002 at 16:48 UTC | |
|
Re: LWP::UserAgent error responce
by jonjacobmoon (Pilgrim) on Sep 20, 2002 at 16:43 UTC | |
|
Re: LWP::UserAgent error response
by hacker (Priest) on Sep 21, 2002 at 13:08 UTC |