On Mon, 14 Jan 2008 02:48:08 -0800, [EMAIL PROTECTED] wrote:
> I have cgi script and sometimes it fails. I get Internal Server Error
> in my browser.
> When i run perl -c script.cgi  i get syntax ok.
> It is runtime error. But how to know what is the error? How can i make
> the error is shown in bworser window? 

use CGI::Carp qw(fatalsToBrowser);

-- 
Peter Scott
http://www.perlmedic.com/


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to