diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-07-27 20:21:40 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-07-27 20:21:40 +0000 |
commit | 4546b9e60350d925ea9a8210378c9e1a79f4a7ab (patch) | |
tree | f7989045aae0c5d7e38662b15ee435cd2d244332 /INSTALL | |
parent | dcc7f48117e0d8d95c3ad7e7d270188fbf5e9ec8 (diff) | |
download | perl-4546b9e60350d925ea9a8210378c9e1a79f4a7ab.tar.gz |
We now return to your normally scheduled hash randomisation.
p4raw-id: //depot/perl@20242
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -849,12 +849,12 @@ to create such degenerate hashes. Because of this feature the keys(), values(), and each() functions may return the hash elements in different order between different -runs of Perl even with the same data. The additional randomisation -is enabled if the environment variable PERL_HASH_SEED is set, see -perlrun for details. - -One make the randomisation default by adding -DUSE_HASH_SEED to the -compilation flags, or completely disable it by adding -DNO_HASH_SEED. +runs of Perl even with the same data. One can still revert to the old +repeatable order by setting the environment variable PERL_HASH_SEED, +see L<perlrun>. Another option is to add -DUSE_HASH_SEED_EXPLICIT to +the compilation flags, in which case one has to explicitly set the +PERL_HASH_SEED environment variable to enable the security feature, +or -DNO_HASH_SEED to completely disable the feature. B<Perl has never guaranteed any ordering of the hash keys>, and the ordering has already changed several times during the lifetime of |