|Perl Monk, Perl Meditation|
Re^7: Hash order randomization is coming, are you ready?by demerphq (Chancellor)
|on Dec 03, 2012 at 05:59 UTC||Need Help??|
Which makes me wonder whether your meditation isn't a little a) redundant; b) slightly scare mongery?
I think you missed the point. The order will change *every process*.
The order returned by 5.12.4 is what you should see on pretty much every modernish perl there has been released with the exception of 5.8.1 and 5.17.6 and later. And obviously in 5.17.6 the order changes pretty much every time.
What we discover when we per-process randomize the keys is that people actually depend on the key order more than they realize. When we make it random these dependencies become visible as bugs. I tend to consider them buggy originally, as minor changes to the history of the hash will produce roughly the same results as per-process randomization.
BTW, you *did* see that I said "none of this is new" right? So why the emphasis on "But that has always been the case"?