koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Koha-devel] Re: [Koha] premature end of script headers


From: Rick Welykochy
Subject: Re: [Koha-devel] Re: [Koha] premature end of script headers
Date: Fri, 19 Jan 2007 14:54:55 +1100
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.13) Gecko/20060414

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]