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