in reply to Comparing two text files

Hi,

I would start by reading the contents of file B into a hash to use as a look up for the values you want to check in file A.

That should simplify things a bit.

J.C.