in reply to Re: Compare two index lists
in thread Compare two index lists

What happens if for instance the word "lala" exists 4 times in each? the OP made it sound like that should not be printed.

-Waswas

Replies are listed 'Best First'.
Re:Compare two index lists
by pdotcdot (Acolyte) on Aug 11, 2003 at 17:11 UTC
    Luckily the nature of the input file means that this should never happen! But...if it did... ideally the index should only be matched once. PS lines 9 and 10 should read
    chomp $var1; chomp $var2;
    i changed it to ease readers through the problem