in reply to Passing a multidimensional Hash to a sub-routine

Pass them to your subs by reference.
sub fishes { my $fishHoH = shift; for my $key (keys %{$fishHoH}) { print "$key fish: ", $fishHoH->{$key}->{fish}, "\n"; } } my %HoH = ( one => { fish => 'red' }, two => { fish => 'blue' } ); &fishes(\%HoH);

-Bird