in reply to Perl Seems to be giving me random errors

use CGI::Carp qw{fatalsToBrowser} would also help here.And

use strict; use warnings; use CGI;
if you're not already.


Grygonos

Replies are listed 'Best First'.
Re^2: Perl Seems to be giving me random errors
by waswas-fng (Curate) on Nov 15, 2004 at 15:49 UTC
    And then after debugging remove the se CGI::Carp qw{fatalsToBrowser} so as not to give too much information to hackers when they are testing the cgi. It dumps way to much info about how the script is constructed when used on live apps.


    -Waswas