Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 musing on the Monastery: (4)
As of 2014-07-28 05:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (186 votes), past polls