in reply to using map to generate a hash of hash
But I don't understand how to take my 4 values and dump them in my hash, since map goes on 1 element of the list at a time....
that's about right. someone clever might be able to come up with a way to do what you want using map, but really that's the wrong tool for the job. a simple for loop would work much better and probably be clearer.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: using map to generate a hash of hash
by Sihal (Pilgrim) on Nov 07, 2002 at 14:31 UTC | |
|
Re: Re: using map to generate a hash of hash
by Sihal (Pilgrim) on Nov 07, 2002 at 15:34 UTC |