in reply to Copying hash contents, from nested hash (was: a simple one)

If you want deep clone of every cookie then you can just use the dclone method from Storable e.g
my %newhash = %{ dclone \%hash };
Or a copy per cookie
foreach (values %hash) { my %newcookie = %{ dclone $_ }; # more code here }

HTH

_________
broquaint