in reply to RE: RE: LWP and POST
in thread LWP and POST
The object stored in $res (as given in the above example) has methods you can get at to find out what you want to know. Try this after the code Kasei provided:
if ($res->is_success) { print $res->content; } else { print $res->error_as_HTML; }
I hope you can extract from that sample; let me know if you need more info. By the way, I really like Web Client Programming with Perl but, alas, it's no longer in print. Betcha could find a used copy out there somewhere.
- Muse
|
|---|