In general, it might help to name your routines with a common tag so they are easy to find. For example my_debug_d0.sub d0 { if($ENV{MYMOD_DEBUG_LEVEL} >= $my_level) { doThis; } else { doThat; } }
In reply to Re: Best practice for handling subroutines that are conditionally loaded?
by Danny
in thread Best practice for handling subroutines that are conditionally loaded?
by nysus
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |