map { { $label => $value } } 1 .. 9?
What you are doing is creating the hashref, and duplicating the same hashref that number of times.
--MidLifeXis
In reply to Re^3: iterate through a hash with two keys
by MidLifeXis
in thread iterate through a hash with two keys
by fionbarr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |