http://www.perlmonks.org?node_id=946397


in reply to Re: Help with program for proteins
in thread Help with program for proteins

foreach $i(@splitted){ if ($i=~/\b\w{6}\b/ and $i !~/\_/){ $acc=$i;

If the accession number in the first file matched one in a line of the second one, then I'd push @pfx into @list. at least that was the plan