# with proper multi-dimensional hash keys(%{$hash{foo}}); # get keys of hash{foo}