in reply to Re: Re: How do I get errors printing out to the browser?
in thread How do I get errors printing out to the browser?
Just to verify what jsprat is saying:
produces:#!/usr/bin/perl -w use CGI ':standard'; use CGI::Carp qw(fatalsToBrowser); $i = 6; || $j = 7;
Content-type: text/html <H1>Software error:</H1> <PRE>syntax error at /tmp/t63 line 6, near "; ||" Execution of /tmp/t63 aborted due to compilation errors. </PRE> <P> For help, please send mail to this site's webmaster, giving this error + message and the time and date of the error. [Tue Aug 5 12:58:07 2003] t63: syntax error at /tmp/t63 line 6, near +"; ||" [Tue Aug 5 12:58:07 2003] t63: Execution of /tmp/t63 aborted due to c +ompilation errors.
chriso: Do you see the same problems with this simple script, or does it display the error in the browser as you expect?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: How do I get errors printing out to the browser?
by chriso (Sexton) on Aug 06, 2003 at 16:55 UTC |