I have OO modules (for mod_perl) and once in production certain expensive checks can (and need to) be omitted. Is there something that allows blocks of code in PM files to be ignored if another something is set in calling scripts? I don't want to add loads of tests for a global var. Something in POD maybe? I'd greatly appreciate any help or pointers. thanks, earcam#ifdef DEBUG ... #endif
In reply to Conditional Interpretation? by earcam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |