foreach my $array_elem ( @{ $href->{$key} } ) {