Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2016-02-09 12:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (313 votes), past polls