in reply to Re: Re: Re: Re: Can't locate LWP/UserAgent.pm
in thread Can't locate LWP/UserAgent.pm

Boy, that is strange. I don't know what would cause fatalsToBrowser not to work--unless of course perl can't find the CGI module.

It looks like you'll have to stick with running it on the command line. Have you tried changing your path to point to 5.005x version of perl, instead of 5.8? That's probably a good first step.

Another thing to try is run it using perl -c yourscript.pl. That will show you the compilation errors right at the command line. Once you get those cleared up (by installing missing modules, etc, you'll be in better shape to start testing that script.

I'd still recommend running it from a browser though--there might be problems that come up when running it from the webserver that don't from the commandline, and vice versa. Also, you avoid spending your time on problems that are not an issue when it's run as a CGI script.

AH