in reply to FInding the longest match from an initial match between two files
Your for loop syntax is broken. It should be:
for my $Skmerkey (keys %Skmer) {
In several places you use () instead of {} for accessing hash values. The code should look like:
my $i = $Skmer{$Skmerkey};
I strongly recommend you use strictures (use strict; use warnings; - see The strictures, according to Seuss). You initialize the array @array2 but access $arrayS2[...] in several places. Strictures would have found that for you immediately.
Your first while loop references <IN>, but nothing opens IN as a file handle.
\chomp($line) is incorrect. Remove the \.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: FInding the longest match from an initial match between two files
by Allie_grater (Initiate) on Nov 08, 2016 at 22:21 UTC | |
by GrandFather (Saint) on Nov 08, 2016 at 23:25 UTC |