Perl will attempts to do what it thinks were you trying to accomplish.
- In other words, if you add to 1 to a string, it will treat the hash element as a digit.
- If you try to concatenate a string it would treat your hash element as a string.
It tends to throw people who are used to programming with Java or C#.