Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^2: HTTP error response code 500 using LWP::UserAgent on one site, but not on any other

by afoken (Abbot)
on Nov 17, 2012 at 19:33 UTC ( #1004344=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    
    say $resp->status_line;
    say Dumper $resp;
    
  2. or download this
    500 Can't connect to no.such.server.in.my.lan:80 (Bad hostname)
    $VAR1 = bless( {
    ...
                                            '_method' => 'GET'
                                          }, 'HTTP::Request' )
                   }, 'HTTP::Response' );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1004344]
help
Chatterbox?
[james28909]: alas, there is no perlapp.pm
[Corion]: Mhmmm... no fun

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2017-07-28 14:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (429 votes). Check out past polls.