Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

LWP::UserAgent connection problem as CGI

by bassplayer (Monsignor)
on Mar 03, 2004 at 17:58 UTC ( #333632=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
       my $qurl = 'legitmate url (tested -- fails for many)';
       my $uasnd = new HTTP::Request ('GET', $qurl);
    ...
       print STDERR "RES:  ".Dumper( $res )."\n";
       my $code= $res->code;  # RETURNS 500
       my $content= $res->content;  # NADA
    
  2. or download this
    RES:  $VAR1 = bless( {
            '_content' => '',
    ...
                                 }, 'HTTP::Request' )
          }, 'HTTP::Response' );
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://333632]
Approved by kvale
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (12)
As of 2014-08-21 20:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (143 votes), past polls