in reply to Optimize debugging subs
Perhaps a compromise based on something like the following attempt? (Disclaimer: I've not tried this, nor have I ever used Deparse...)
If it works, it has the advantage that you can use a larger range of debug helper type statements after the && operator...use constant DBG => 0; . . . DBG && print "Any debugging statement\n";
--roboticus
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Optimize debugging subs
by danb (Friar) on Apr 05, 2006 at 04:24 UTC |