Re: Need help with a simple (I think) Perl script
- From: Ben Bullock <benkasminbullock@xxxxxxxxx>
- Date: Fri, 30 May 2008 12:37:27 +0000 (UTC)
On Fri, 30 May 2008 01:16:39 +0200, Gunnar Hjalmarsson wrote:
If you develop a Perl program in a CGI
environment, you'd better make it a habit to
use CGI::Carp 'fatalsToBrowser';
It will make the browser display more meaningful error messages.
That may not always be a good habit, since the error messages are meaningful
only to the programmer:
http://schwern.org/~schwern/cgi-bin/unix2vms/
One can look for the messages produced by "die" in the error log too, and if
the code is in use by people other than the CGI programmers (which it probably
will be) it's probably a better bet to not use the above outside of testing,
since it will produce something meaningless and confusing.
.
- Follow-Ups:
- Re: Need help with a simple (I think) Perl script
- From: szr
- Re: Need help with a simple (I think) Perl script
- From: Jürgen Exner
- Re: Need help with a simple (I think) Perl script
- References:
- Need help with a simple (I think) Perl script
- From: *** Sutton
- Re: Need help with a simple (I think) Perl script
- From: A. Sinan Unur
- Re: Need help with a simple (I think) Perl script
- From: *** Sutton
- Re: Need help with a simple (I think) Perl script
- From: Lawrence Statton
- Re: Need help with a simple (I think) Perl script
- From: Ted Zlatanov
- Re: Need help with a simple (I think) Perl script
- From: A. Sinan Unur
- Re: Need help with a simple (I think) Perl script
- From: Ben Bullock
- Re: Need help with a simple (I think) Perl script
- From: Bill H
- Re: Need help with a simple (I think) Perl script
- From: Gunnar Hjalmarsson
- Need help with a simple (I think) Perl script
- Prev by Date: Re: Need help with a simple (I think) Perl script
- Next by Date: Re: Need help with a simple (I think) Perl script
- Previous by thread: Re: Need help with a simple (I think) Perl script
- Next by thread: Re: Need help with a simple (I think) Perl script
- Index(es):