Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 ( #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";


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (8)
As of 2014-09-17 14:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (81 votes), past polls