Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Conditional Interpretation?by gryphon (Abbot) |
on Feb 01, 2006 at 03:06 UTC ( [id://526950]=note: print w/replies, xml ) | Need Help?? |
Greetings earcam,
One of the things we did was to use a constant (or a bitwise and set of constants) inside a right-side if conditional for whether we had debug statements work. The compiler optimizes away the entire line at run-time if the constant conditional is false.
Is this what you're looking for? gryphon
In Section
Seekers of Perl Wisdom
|
|