Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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

by kennethk (Abbot)
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?

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (13)
As of 2015-11-30 18:40 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (778 votes), past polls