Or a copy per cookiemy %newhash = %{ dclone \%hash };
foreach (values %hash) { my %newcookie = %{ dclone $_ }; # more code here }
_________
broquaint
In reply to Re: Copying hash contents, from nested hash (was: a simple one)
by broquaint
in thread Copying hash contents, from nested hash (was: a simple one)
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |