>>>>> "Brett" == Brett W McCoy <[EMAIL PROTECTED]> writes:

Brett> Actually, if you use the CGI:Carp module (and import fatalsToBrowser), you
Brett> can reduce this to a single line:

Brett> use CGI::Carp qw(fatalsToBrowser);

Just remember to turn that off before you deploy the code for production.

NEVER tell a random browser what your error message is!

AT BEST, you simply say "it broke, we know about it, sorry".

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

Reply via email to