Disclaimer: I don't anderstand your code - but from your description I think it is what you wanted.for my $i (0 .. $#dna){ if(! exists $pairs{$dna[$i].$comp[$i]}){ print "mismatch: ...."; } }
In reply to Re: need help comparing DNA compliments
by zby
in thread need help comparing DNA compliments
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |