in reply to Re: Hash order randomization is coming, are you ready?
in thread Hash order randomization is coming, are you ready?
One certainly hopes they haven't broken one of the few guarantees given in the POD:
keys HASH
Returns a list consisting of all the keys of the named hash. (In scalar context, returns the number of keys.)
The keys are returned in an apparently random order. The actual random order is subject to change in future versions of perl, but it is guaranteed to be the same order as either the values or each function produces (given that the hash has not been modified). Since Perl 5.8.1 the ordering is different even between different runs of Perl for security reasons (see Algorithmic Complexity Attacks in the perlsec manpage).
Then again, it would have been useful to jave been told how this new randomisation varies from that which has been in place since 5.8.1?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Hash order randomization is coming, are you ready?
by mje (Curate) on Nov 29, 2012 at 17:11 UTC | |
by demerphq (Chancellor) on Dec 02, 2012 at 10:03 UTC | |
Re^3: Hash order randomization is coming, are you ready?
by demerphq (Chancellor) on Dec 02, 2012 at 11:10 UTC | |
Re^3: Hash order randomization is coming, are you ready?
by Anonymous Monk on Nov 29, 2012 at 13:39 UTC | |
by BrowserUk (Patriarch) on Nov 29, 2012 at 14:12 UTC | |
by demerphq (Chancellor) on Dec 02, 2012 at 09:55 UTC | |
by BrowserUk (Patriarch) on Dec 02, 2012 at 17:41 UTC | |
by demerphq (Chancellor) on Dec 03, 2012 at 10:59 UTC | |
|