ok sorry, I should have read the documentation before asking:
"Note that the values are not copied, which means modifying them will modify the contents of the hash" http://perldoc.perl.org/functions/values.html
I find this a bit counter-intuitive actually, but that answers my question clearly.
In reply to Re^2: Strange bug with map
by erwan
in thread Strange bug with map
by erwan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |