perltidy
  We use a has to avoid reprocessing values twice.
Added simple hash method.

This doesn't actually hash in the traditional sense, but it
will be sufficient.
  Test cases for merged records.
 perltidy
  Fixed test-case to avoid warnings.