Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: $var{el} += 1 vs $var{el} = $var{el} + 1 (varnames)

by kennethk (Monsignor)
on Aug 14, 2013 at 14:22 UTC ( #1049428=note: print w/ replies, xml ) Need Help??


in reply to Re^2: $var{el} += 1 vs $var{el} = $var{el} + 1 (varnames)
in thread $var{el} += 1 vs $var{el} = $var{el} + 1

You may consider investing in lock_keys from Hash::Util. It fixes which keys are allowed in a hash, at the cost of a small amount of speed, and thus protects you from hash key typos.


#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.


Comment on Re^3: $var{el} += 1 vs $var{el} = $var{el} + 1 (varnames)
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2014-12-22 05:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (110 votes), past polls