19 Jan
2007
19 Jan
'07
8:54 a.m.
Rick Welykochy wrote:
A way to avoid the cryptic "Premature end of script headers" in scripts is to use the exception handling facility of Perl.
One can also use CGI::Carp, i.e. use CGI::Carp qw(fatalsToBrowser); But (a) it does not show *all* error messages as one would see in the shell and (b) it should be removed once in production. It can prove useful while developing CGI scripts. -rw -- _________________________________ Rick Welykochy || Praxis Services The 7 R's of Windows support: retry, restart, reboot, reconfigure, reinstall, reformat and finally, replace with Linux.