Help for this page
while (<DUPLICATE>) { print DUPremoved if not $lines{$_}++; }
while (<DUPLICATE>) { chomp; print DUPremoved "$_\n" if not $lines{$_}++; }