in reply to Easy, elemental, but cool debug trick.
sub DEBUG () { 1 }
If I have many statements in there doing ... if $DEBUG.
I also use perl -c, the debugger, and whenever I am doing CGI I like to use CGI::Carp qw(fatalsToBrowser). I also use -T, but that isn't really a debugging thing.
Cheers,
KM
|
|---|