Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: LWP::UserAgent connection problem as CGI

by inman (Curate)
on Mar 04, 2004 at 09:35 UTC ( #333813=note: print w/replies, xml ) Need Help??


in reply to LWP::UserAgent connection problem as CGI

Set up LWP debugging with the following line:
use LWP::Debug qw(level); level('+');

You can redirect the output to either the CGI generated page or a file. The trace produced for each call helps you root out many LWP based errors. You will want to comment this line out in production.

Replies are listed 'Best First'.
Re: Re: LWP::UserAgent connection problem as CGI
by bassplayer (Monsignor) on Mar 04, 2004 at 20:30 UTC
    A very useful line of code. Didn't help that much in this case, but I really dig the output it gives. Thanks.

    bassplayer

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://333813]
help
Chatterbox?
[LanX]: fun, last time I was in Britain people had problems with my name, just rarely they said "like the children TV star Rolf Harris?", this time most replied instantly "Rolf? like the pedophile Rolf Harris" ?
LanX is perlophile
[ambrus]: Corion: read https://metacpan. org/pod/release/ MLEHMANN/AnyEvent- 7.13/lib/AnyEvent. pm#SUPPLYING-YOUR- OWN-EVENT-MODEL- INTERFACE in that case

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2016-12-08 12:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (141 votes). Check out past polls.