http://qs321.pair.com?node_id=526950


in reply to Conditional Interpretation?

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.

do_something() if ($CONSTANT); do_something_else() if ($CONSTANT & $ANOTHER_CONSTANT);

Is this what you're looking for?

gryphon
Whitepages.com Development Manager (WDDC)
code('Perl') || die;