Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have 4 arrays that I want to map into a hash. Could someone show me a neat way to do it that doesn't involve modules?
I have one array of keys and three of values, all are ordered and of the same length.
Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: hashes with multiple values
by Roy Johnson (Monsignor) on Oct 19, 2005 at 15:42 UTC | |
|
Re: hashes with multiple values
by fizbin (Chaplain) on Oct 19, 2005 at 16:15 UTC | |
|
Re: hashes with multiple values
by chester (Hermit) on Oct 19, 2005 at 17:31 UTC | |
|
Re: hashes with multiple values
by shemp (Deacon) on Oct 19, 2005 at 18:00 UTC |