oghran has asked for the wisdom of the Perl Monks concerning the following question:
Anyway, my point is that I'm using CGI::Carp but yet I still am getting 500 Internal Server Error in the browser. Below is the brief snippit of code that includes the module:
########### TO IMPLEMENT # Build in formatting use DBI; use CGI; use CGI::Cookie; use CGI::Carp qw(fatalsToBrowser); #open new cgi $q = new CGI;
Incase anyone suggests it the module does exist, and I've run the script successfully before but this time some of the parameters are causing it to fail.
Is there anything that causes CGI::Carp not to work and just return the usual 500 server error ? Is there any other way I can forceable return errors to the browser ?
Thanks for any help or suggestions.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CGI::Carp failing to report errors
by Limbic~Region (Chancellor) on Oct 29, 2003 at 20:39 UTC | |
|
Re: CGI::Carp failing to report errors
by Ovid (Cardinal) on Oct 29, 2003 at 20:42 UTC | |
by tye (Sage) on Oct 30, 2003 at 01:05 UTC | |
|
Re: CGI::Carp failing to report errors
by talexb (Chancellor) on Oct 29, 2003 at 20:42 UTC | |
|
Re: CGI::Carp failing to report errors
by Hagbone (Monk) on Oct 30, 2003 at 01:39 UTC | |
|
Re: CGI::Carp failing to report errors
by theAcolyte (Pilgrim) on Oct 30, 2003 at 10:51 UTC |