You iterate over the keys, and then for each key add a hashref of both values to the new hash.
See perlreftut for the perly details if you have troubles putting it into code.
In reply to Re: join two hashes
by moritz
in thread join two hashes
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |