Forum Navigation
You need to log in to create posts and topics.

Display or view the CGI errors in the browser

Problem

Developer wants to view all CGI errors in the web browser. rather to tail and examine the logs while using CGI module

 

Solution

Add this lines to your code when including modules

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