Help for this page
my %newhash = %{ dclone \%hash };
foreach (values %hash) { my %newcookie = %{ dclone $_ }; # more code here }