in reply to Re: Strange bug with map
in thread Strange bug with map

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.