in reply to Reviews Quest
Something I think that most people haven't touched on is the usefulness of the CGI::Carp module.
When you've been writing a CGI script, how many times has it run from the shell fine, only to give you the dreaded '500 Internal Server Error'. CGI::Carp writes a $SIG{__DIE__} handler so that die() calls are handled fine, and you get the same sort of error message in your browser that you would when running your script from the shell.
So, make sure you:
in all your CGI scripts. It has saved me literally HOURS of debugging time.use CGI::Carp qw(fatalsToBrowser)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: CGI::Carp
by Ovid (Cardinal) on Jul 08, 2000 at 21:33 UTC | |
|
RE: CGI::Carp (use warnings?)
by ybiC (Prior) on Jul 08, 2000 at 22:26 UTC | |
by lhoward (Vicar) on Jul 08, 2000 at 22:48 UTC | |
by SuperCruncher (Pilgrim) on Jul 09, 2000 at 01:31 UTC | |
by SuperCruncher (Pilgrim) on Jul 09, 2000 at 01:15 UTC |