And further to your further to my further to... wait... what?!? :)
$hash{$_} = { %$value } for @keys;
...
$hash{$_} = { %value } for @keys;
I always think it's worth pointing out in discussions on this topic that something like { %$value } or { %value } only does a shallow copy.
Give a man a fish: <%-{-{-{-<
In reply to Re^9: Combinations of lists, etc
by AnomalousMonk
in thread Combinations of lists to a hash
by tel2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |