Use the if module. It comes with your perl. You'll need to know your conditional at compiletime so you might need to do your getopt() during some kind BEGIN block.
use if $ENV{DEBUG}, 'Smart::Comments';⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
In reply to Re: Smart::Comments source filter on or off .. post compile?
by diotalevi
in thread Smart::Comments source filter on or off .. post compile?
by leocharre
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |