And, if you do that a lot, there's this alternative for your consideration:
sub inplace_shuffle { @_[keys @_] = shuffle @_ } inplace_shuffle (values %foo);
In reply to Re^2: Randomly reassign hash keys
by Anonymous Monk
in thread Randomly reassign hash keys
by cormanaz
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |