Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (12)
As of 2015-07-03 13:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (53 votes), past polls