my %hash1 = %{$href}; my %hash2 = %$href; my %subhash = %{$href->{subhash}}; #### use experimental qw /refaliasing/; \my %hash = $href;