Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Where is LWP::Simple::get error information stored?

by Anonymous Monk
on Sep 28, 2012 at 13:36 UTC ( [id://996220]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use LWP::UserAgent;
    
    ...
    print "HTTP response code was: ", $response->status_line, "\n";
    
    #print "Content was:\n", $response->content, "\n";
    
  2. or download this
    HTTP response code was: 200 OK
    HTTP response code was: 404 Not Found
    HTTP response code was: 500 Can't connect to 127.0.0.1:80 (Invalid arg
    +ument)
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-03-29 05:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found