Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://333632]
Approved by kvale
Discipulus if thezip is still around can be interested into How to hide/inhibit the console window when launching a Perl script on Windows?
[Corion]: sierpinski: Yes, but I don't want to write Javascript in a more involved way ;)

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2017-03-27 19:17 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (321 votes). Check out past polls.