I don't know what to recommend, because I don't know what you mean by merge. If you want to have access to both values, you could use arrayrefs as the values of your hash, and push each value on. Or you could use two different hashes, which might be more sensible depending on what you actually wanted to do with them.
What would be the output you'd desire from processing the two files in your example?
In reply to Re: How can I merge data using a hash?
by Zed_Lopez
in thread How can I merge data using a hash?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |