http://www.perlmonks.org?node_id=1057403


in reply to Re^2: Comparing strings from different files
in thread Comparing strings from different files

  1. Open file1 and read it in one record at a time
  2. Each record should be split into the label and the rest
  3. Make the label the hash key and the rest the hash value
  4. Close file1 and open file2 and read it in one record at a time
  5. Each record should be split into the label and the rest
  6. You now have two rows to compare (the current record from file2 and the one stored in the hash keyed on the label from file1), so do that for whatever "compare" means in your task
  7. Close file2