Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^5: GD and LWP giving 500 errors

by huck (Parson)
on Mar 17, 2017 at 12:10 UTC ( #1185016=note: print w/replies, xml ) Need Help??

in reply to Re^4: GD and LWP giving 500 errors
in thread GD and LWP giving 500 errors

If you want to try again under perlml strike the following line

use strict; use warnings;
those are the only non evaled use statments. if it works, whew.

otherwise it looks like LWP came in, but CGI/Carp and GD didnt

you can strike addin('x::x',1); too. that was just there to display how a nonfound module would behave, and you got those.

You could try adding addin('LWP::Simple',1); to see if it can find that.

What it is doing is running the use statments under an eval. eval will trap the die preventing the script from issueing an error at that point and dieing. Since dieing means no output is sent back thats why you got the 500. It also lists all the modules added by that use statment. Since one module can use many others it can be quite informative.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2019-10-20 16:09 GMT
Find Nodes?
    Voting Booth?