in reply to question about multi value hash key
The problem that I have is to merge two files which have the same fields (time, conference, type, comment) and to sort them out. The combination of (time, conference)is unique. When I tried it, I had the problem of how to address multi value key in hash. I had a sub to read files and write contents to two hashes and return the hash reference. But that was for single value key. I don't know how to do the same thing with muti-value key and how to use key reference to access multiple values in the hash. Hope I made the problem a little bit cleare.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: question about multi value hash key
by wfsp (Abbot) on Apr 01, 2009 at 06:11 UTC |