good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^7: Why is my code assigning the last-retrieved value to all elements in my hash?by punch_card_don (Curate) |
on Jul 09, 2008 at 21:02 UTC ( [id://696564]=note: print w/replies, xml ) | Need Help?? |
So here's the truly bizarre part: Changing the hash populating routine to this
makes it all work perfectly. Changing just one line of the above code to makes it revert to the original incorrect behaviour. Time flies like an arrow. Fruit flies like a banana.
In Section
Seekers of Perl Wisdom
|
|