Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^4: Perl module to get warn or die to render as HTML

by valavanp (Curate)
on Sep 26, 2006 at 15:21 UTC ( [id://574960]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Perl module to get warn or die to render as HTML
in thread Perl module to get warn or die to render as HTML

First you should trace out the error log path and see what kind of error it is showing. Than as suggested by monks, you can download the below module from CPAN and use it.

use CGI::Carp qw(fatalsToBrowser); use strict;

or if you have more number of lines in your code and to check whether a particular function is been working or not you can see by writing the following 2 lines of code and test.

print "Content-type:text/html\n\n"; print "here";

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-03-27 05:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found