Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Macro in perl code?

by djp (Hermit)
on Oct 18, 2007 at 05:46 UTC ( #645648=note: print w/ replies, xml ) Need Help??


in reply to Macro in perl code?

For a different approach I suggest you consider Smart-Comments, which uses a source filter but does all the work for you. You don't even have to modify your code, you can turn smart comments on and even control the verbosity level at runtime via e.g.

perl -MSmart::Comments myscript.pl perl -MSmart::Comments="####" myscript.pl
See the documentation and Re^2: debug statements for details.


Comment on Re: Macro in perl code?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2014-12-29 03:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (184 votes), past polls