|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: using map to generate a hash of hashby thraxil (Prior) |
| on Nov 07, 2002 at 14:27 UTC ( #211074=note: print w/ replies, xml ) | Need Help?? |
|
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.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||