Kevin Old wrote:
Hello everyone,

I've seen several references on the Perl5 Porters mailing list about
Perl 5.8.1's hash randomization.  Can someone explain actually what it
is, why I'd want to use it and how to use it?


The most important bit of the documentation in is in perlsec:


"Perl has never guaranteed any ordering of the hash keys and the
ordering has already changed several times during the lifetime of
Perl 5.  Also, the ordering of hash keys has always been, and con-
tinues to be, affected by the insertion order."

There is more detail concerning hash randomization in perlsec under "Algorithmic Complexity Attacs", including a link to here: http://www.cs.rice.edu/~scrosby/hash/

I've not seen it discussed on any of the major perl sites, just in the
weekly perl5-porters summary.


That's probably because Perl has never guaranteed the order of hashes.


Thanks,

Your welcome.


Kevin

-- Douglas



-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to