Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Smaller than an object?

by erikharrison (Deacon)
on Aug 21, 2002 at 19:19 UTC ( #191843=note: print w/ replies, xml ) Need Help??


in reply to Smaller than an object?

Counter? I know about as much C as I know Quantum Mechanics, but I believe that this trick corresponds (roughly) to the static declaration, and is a common trick for this sort of problem. Rather than having a general term for the trick, using a term that also points to the variables purpose (like counter) is probably better self documentation. Just put a thorough knowledge of lexicals into your bag of tricks and call it whatever it needs to be called for that bit of code.

Cheers,
Erik

Light a man a fire, he's warm for a day. Catch a man on fire, and he's warm for the rest of his life. - Terry Pratchet


Comment on Re: Smaller than an object?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2014-12-29 07:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (185 votes), past polls