|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: What is happening ?by tilly (Archbishop) |
| on Aug 19, 2009 at 05:48 UTC ( #789691=note: print w/ replies, xml ) | Need Help?? |
|
You are assigning a single key/value pair to $key and $value, then making a list of 2 elements out of that list, then iterating over that list of 2 elements. The next time you call each you'll get the next pair out of the hash. The usual way to do what you likely want is:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||