for my $hit (@{$matches{$fasta_id}{$sitekey}}) { next unless ($hit >= $lowerlimit); last unless ($hit <= $upperlimit); my $ggg = $hit + 0; push (@arrayA, $ggg);