CGI::CARP Won't work?

Ken Elliott's picture

They have: 358 posts

Joined: Jun 1999

BEGIN {
use CGI::Carp qw(fatalsToBrowser);
}

This is the code that I put in my script, I found it on some website yesterday. But I am still recieving the UNHOLY 500 screen. What suggestions could someone give me on this. I can't get the apache log file, because it is on hostsave.com(cheapie). But they got a perl checker.

Thanx for the help
VulKen

Pimpin like a pimp with an electrofied pimpin machine!

They have: 568 posts

Joined: Nov 1999

Well, the chances of them not having it installed are good since you say they're cheap.

But try to forget the sub routine and put use CGI::Carp qw(fatalsToBrowser); at 2nd line of your script.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.