in reply to Re: Making debug a little more intelligent
in thread Making debug a little more intelligent

$debug and print 1 == $debug ? "LEVEL 1: moo\n" : 2 == $debug ? "LEVEL 2: foo\n" : "LEVEL 3: bar\n";

Makeshifts last the longest.