my $hash_ref = $array_ref->[2]; my $value = $hashref->{$key};