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);
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.