$code = reference to an array holding identifiers $hashhash = reference to a hash #### $hashhash = { 'identifier' => {'score' => 7, 'query_start' => 80, 'query_end' => 1292, 'subj_start' => 367, 'subj_end' => 1563 'e_value' => '5e-12', 'defline' => 'description', 'taxon' => 'Homo sapiens', }, 'identifier' => {...} } #### if ($hashhash->{$codes->[$x]}->{'defline'} =~ m/NP_/) { do_something; } #### Can't use string ("description") as an ARRAY ref while "strict refs" in use at /home/spitzem/wp/retr_standaloneblast_ABCGfam.pl line 589 (#1) (F) Only hard references are allowed by "strict refs". Symbolic references are disallowed. See perlref.