in reply to Re: how to use the values of the first hash to be the keys for the second hash
in thread how to use the values of the first hash to be the keys for the second hash
thank you guys for the quick reply
for my hash1
I have "key1" with values "val1, val2",
"key2 withs value "val3".
each of the value in hash1, is key in hash2:
for example: "val1" in hash1 has values "val4, val5, val6" in hash2; and so on.
What I need is to generate a hash to combine the first two hashes, something like the following:
"key1" with values "val4,val5,val6,val7, val8";
"key2" with value "val3".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: how to use the values of the first hash to be the keys for the second hash
by philiprbrenan (Monk) on Sep 07, 2012 at 16:06 UTC | |
by lrl1997 (Novice) on Sep 07, 2012 at 16:34 UTC |