![]() |
|
go ahead... be a heretic | |
PerlMonks |
Re: Macro in perl code?by djp (Hermit) |
on Oct 18, 2007 at 05:46 UTC ( #645648=note: print w/replies, xml ) | Need Help?? |
For a different approach I suggest you consider Smart-Comments, which uses a source filter but does all the work for you. You don't even have to modify your code, you can turn smart comments on and even control the verbosity level at runtime via e.g.
See the documentation and Re^2: debug statements for details.
In Section
Seekers of Perl Wisdom
|
|