Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: RE: RE: LWP and POST

by motomuse (Sexton)
on Jan 06, 2001 at 09:35 UTC ( [id://50212]=note: print w/replies, xml ) Need Help??


in reply to RE: RE: LWP and POST
in thread LWP and POST

Did you ever get an answer on this? Looks like not publically, at least.

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://50212]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2024-04-26 02:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found