for my $key ( keys %hash ) { print "$key \t $hash{ $key }"; } #### for my $key ( key %{ $test{$team}{'raw_data'} } ) {...}