phantom20x has asked for the wisdom of the Perl Monks concerning the following question:
How could I make those into a hash with only H1, H2, H3 and have the corresponding values H1{23, 63, 22} and so on? Any help or a point in the right direction would help? Thanks!@1=(H1, H2, H3, H1, H2, H3, H1, H2, H3); @2=(23, 42, 34, 63, 33, 66, 22, 33, 49);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Combining 2 Lists into a Hash revisted
by GrandFather (Saint) on Aug 14, 2007 at 02:55 UTC | |
|
Re: Combining 2 Lists into a Hash revisted
by dwm042 (Priest) on Aug 14, 2007 at 11:39 UTC |