in reply to Re^2: perl to add results of 2 arrays from 2 files together.
in thread perl to add results of 2 arrays from 2 files together.

You actually don't even need to merge hashes if you consider that you can do the whole thing with one single hash. Just read the first file, store the values in a hash, read the second file, add the values to those already in the hash for each key. And you're basically done.
  • Comment on Re^3: perl to add results of 2 arrays from 2 files together.