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

 

All content available through this Web Site is provided on an “AS IS” and “AS AVAILABLE” basis, with all faults. Tracston LTD makes no warranty or representation with respect to the quality, accuracy, or availability of the Web Site or any of its content.