in reply to Merging two data sets

Looks for me like you do it the wrong way round.

You have to read data set 2 into a hash and then parse set 1.

HTH! :)

Cheers Rolf

(addicted to the Perl Programming Language)