in reply to Re: Strange bug with map
in thread Strange bug with map
> Note that the values are not copied, which means modifying them will modify the contents of the hash.
It's convenient, you can do things like
$_ = lc for values %hash;
Note that keys don't work this way.
($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Strange bug with map
by erwan (Sexton) on Feb 11, 2016 at 16:19 UTC |