Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Check a perl script for repeat "my" declarations

by awkmonk (Monk)
on Apr 01, 2003 at 09:19 UTC ( #247189=note: print w/ replies, xml ) Need Help??

in reply to Check a perl script for repeat "my" declarations

Yes it's Cool.

It does occur to me that if you defined the setting of the my clauses in a function (with it's own lexically defined HoA) you could - via recurrsion - quite easily make it handle the lexical scope of the defined fields...or something like that ;0)

Be careful though - you start out just finding my variables and soon you'll find yourself parsing Perl into COBOL or some other silly language.

Comment on Re: Check a perl script for repeat "my" declarations
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2016-02-07 16:02 GMT
Find Nodes?
    Voting Booth?

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

    Results (254 votes), past polls