in reply to Re^2: output unique lines only
in thread output unique lines only

hi,
I guess you should give the  $uniquefiles{$filename} = 1; inside the while loop.
-kulls