in reply to Re^2: remove duplicates
in thread remove duplicates

I'm not sure I understand where your problem lies. A hash is the traditional way in Perl to check for duplicates. If your memory gets too small because you have too many different entries, you can use DB_File or any other tied hash that stores its data on disk instead of memory.

If all that fails, you can always use a database.