magawake has asked for the wisdom of the Perl Monks concerning the following question:
I would like to have a hash key named 'Honda', 'Toyota', and 'Nissan', with values being associated with Key. For example, 'Honda' would be the key for the hash, and 'Civic', and 'Accord' would be 2 array elements in the 'Honda' hash. Any idea how I would do this? TIAHonda Civic Accord Toyota Camry Corolla Tundra Nissan Maxima
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: hashes with arrays
by brian_d_foy (Abbot) on Nov 07, 2007 at 02:19 UTC | |
|
Re: hashes with arrays
by Fletch (Bishop) on Nov 07, 2007 at 01:03 UTC | |
|
Re: hashes with arrays
by magawake (Novice) on Nov 07, 2007 at 00:37 UTC | |
by GrandFather (Saint) on Nov 07, 2007 at 00:50 UTC | |
by ikegami (Patriarch) on Nov 07, 2007 at 00:53 UTC | |
|
Re: hashes with arrays
by runrig (Abbot) on Nov 07, 2007 at 04:05 UTC | |
|
Re: hashes with arrays
by Anonymous Monk on Nov 07, 2007 at 01:52 UTC | |
by GrandFather (Saint) on Nov 07, 2007 at 02:02 UTC |