Do you know where your variables are? | |
PerlMonks |
Re^2: keys and values order on a hashby ikegami (Patriarch) |
on Jul 11, 2011 at 16:42 UTC ( [id://913726]=note: print w/replies, xml ) | Need Help?? |
Specifically, changing the hash by adding or removing a key is what voids the guarantee, and so does assigning to keys. Changing a value does not affect the order. Adding or removing a key and then undoing the action still counts as a change. That means you can get different orders from two hashes with identical keys.
In Section
Seekers of Perl Wisdom
|
|