Displaying errors on the browser is insecure and not a good practice but if you want to debug the script and fix it then it will much easier if the errors are displayed on the browser itself and you can you disable it later.
Add the following lines to script for sending debugging info to the browser when an error occurs.
[perl]
use CGI::Carp qw(fatalsToBrowser);
[/perl]
Leave a Reply