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.