Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^3: Why is my code assigning the last-retrieved value to all elements in my hash?by karavelov (Monk) |
on Jul 09, 2008 at 19:40 UTC ( [id://696539]=note: print w/replies, xml ) | Need Help?? |
I think the bug is here. Try to write something like
(note the extra parenthesis in order to enforce list context) or
Code is not tested Best regards UPDATE:. I have overseen the kyle suggestion. It seems that the right code regarding the second loop will be:
In Section
Seekers of Perl Wisdom
|
|