display error on browser in perl

add the following line on the top of the cgi script

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

use CGI::Carp qw(fatalsToBrowser);

1,814 thoughts on “display error on browser in perl”

  1. Its such as you read my thoughts! You seem to grasp so
    much approximately this, such as you wrote the ebook in it or
    something. I believe that you just could do with some p.c.

    to drive the message house a bit, but instead of that,
    that is fantastic blog. An excellent read. I will definitely be back.