in reply to Comparing multiple entries from two files
Use a hash to store all lines of the ID file with Catg_ID as key and the other values as data (as a string "12 16"). This should hopefully still fit into memory, if not use something like DMB::Deep to store the hash on disk
Then just read the Name file line by line, check for the ID in the hash and compare.
|
|---|