Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: A question of style - declaring lexicals

by Fletch (Bishop)
on Jun 03, 2004 at 17:46 UTC ( [id://360319]=note: print w/replies, xml ) Need Help??


in reply to Re: A question of style - declaring lexicals
in thread A question of style - declaring lexicals

Here's another disadvantage of style #1 - what happens if you have name reuse? For example, you have a @foo that's used throughout the file. Only, in one place, it means one thing and somewhere else it means something else.

Some would say that it means you should have had two varaibles

  • Comment on Re^2: A question of style - declaring lexicals

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2024-04-19 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found