Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: Re: How do I get errors printing out to the browser?

by sgifford (Prior)
on Aug 05, 2003 at 16:57 UTC ( [id://281077]=note: print w/replies, xml ) Need Help??


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:

#!/usr/bin/perl -w use CGI ':standard'; use CGI::Carp qw(fatalsToBrowser); $i = 6; || $j = 7;
produces:
Content-type: text/html <H1>Software error:</H1> <PRE>syntax error at /tmp/t63 line 6, near &quot;; ||&quot; 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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://281077]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (2)
As of 2024-04-19 22:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found