Gossamer Forum
Home : General : Perl Programming :

CGI::Carp qw(fatalsToBrowser)

Quote Reply
CGI::Carp qw(fatalsToBrowser)
Hi All:

What are the conditions when using use CGI::Carp qw(fatalsToBrowser); I am having some minor problems with a script on my server. I would like to know the specifics of the error. My server does not do well with error reporting. The errors are not specific. I cannot get CGI::Carp qw(fatalsToBrowser) to display the errors. I've used it in the past several months ago but today is just a bad day.

Any Suggestions.

Thanks
Quote Reply
Re: [TheSafePick] CGI::Carp qw(fatalsToBrowser) In reply to
In Reply To:
... I cannot get CGI::Carp qw(fatalsToBrowser) to display the errors.

That usually (but not always) indicates that there is a problem outside of the script. Check your path to Perl in the shebang. Check your permissions, files and dirs. Check that the file was uploaded in ASCII. Make sure Apache will let you execute scripts in the dir you uploaded to. If that doesn't work, post the script. Also, if you can, post the exact error message(s) that you are getting.

~Charlie