Add the line:
my $nCount = ($mask1 =~ tr/N//) + ($mask2 =~ tr/N//);
as the third line of sub match.
In reply to Re^3: simple string comparison for efficiency
by GrandFather
in thread simple string comparison for efficiency
by CaptainF
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |