in reply to Copying multi-level hash

Crap, that's all wrong...
I don't want to create a reference, I want to copy the hash section...
Sorry if I wasn't very clear on that...

I know to get rid of the backslash in that one place, but I have no idea what to do with the %{$hash} part

Replies are listed 'Best First'.
Re: Re: Copying multi-level hash
by dvergin (Monsignor) on Mar 08, 2001 at 06:17 UTC
    Give the way you get:   ;-)
    %temp = %{$hash{key1}{1}}; then later: %{$hash{key1}{1}} = %temp;