Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Smart::Comments source filter on or off .. post compile?

by diotalevi (Canon)
on Jan 09, 2007 at 22:43 UTC ( #593802=note: print w/replies, xml ) Need Help??


in reply to Smart::Comments source filter on or off .. post compile?

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';

⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://593802]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2021-04-15 01:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?