note
bms9nmh
Ok, i'm near the end of the script now.
In this bit, I can see why the script prints out the line from $csv2, but I can't understand how it prints out the line from csv1. I can't see where it gets this information.
<code>
if ($count >= $desired) {
print "$csv2\n";
++$matched;
}
}
print "$_\n\n" if $matched;
</code>
I can see the:
<code>
print "$_\n\n" if $matched;
</code>
bit somehow contains the information from csv1, but I can't see anything in the script which suggests why this would be?
1166649
1169090