paperlined.org
dev
>
perl
>
web
document updated 13 years ago, on Nov 3, 2011
Modules that are useful for debugging:
MAXIMUM — things to use if you want to do your best to catch ALL error information
use
CGI::Debug
;
# if running as CGI
use
CGI::Carp
qw(fatalsToBrowser);
# if running as CGI
use
autodie
;
use
Carp::Always
;
debugging CGI scripts
use
CGI::Carp
qw(fatalsToBrowser);
CGI::Inspect