in reply to Comapring files to see if one file's records is in another file or not.

List::Compare allows you to do a lot of different types of comparisons (intersection; union; unique; ...) on lists. I'm sure that with a bit of coaxing you can get your files into a format that List::Compare can digest. Its one drawback is that all the data must fit into memory, so that rules out working with really big lists.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

  • Comment on Re: Comapring files to see if one file's records is in another file or not.