display error on browser in perl

add the following line on the top of the cgi script

====================================

use CGI::Carp qw(fatalsToBrowser);

Leave a Reply

Your email address will not be published.