Nope, supposed to work that way. Yup, can be surprising until you understand why.
See Looping through a hash reference is creating a key...? for a long discussion.
In reply to Re: Unexpected exists() behavior
by Fletch
in thread Unexpected exists() behavior
by tsmoyers
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |