Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 studying the Monastery: (6)
As of 2014-09-30 20:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (384 votes), past polls