- or download this
if ($debug == "true") {
&debugit; # call the routine
}
- or download this
if ($debug == "true") {
** do all the debug code here and/or carry on **
}
- or download this
my $debug=1; # or $debug='' to disable
# later:
if ($debug) {
debugIt();
}