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 reply to Re: using map to generate a hash of hash
by thraxil
in thread using map to generate a hash of hash
by Sihal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |