diff options
author | Yves Orton <demerphq@gmail.com> | 2013-05-07 23:52:16 +0200 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2013-05-08 00:10:45 +0200 |
commit | e6b54db65c0cdda6ff40959415e828972b6a92b5 (patch) | |
tree | e1fa02fffce3b0b347ed1258ab3e678275d55809 /pod/perlrun.pod | |
parent | a2098e2036fea6a0d6544c47278aea9193a203c2 (diff) | |
download | perl-e6b54db65c0cdda6ff40959415e828972b6a92b5.tar.gz |
document and improve hash algorithm randomization related build options
Install was a copy of other material, made heavy reference to 5.8.x and
and didnt really document what it should have. I reworked it to be more
up to date.
Diffstat (limited to 'pod/perlrun.pod')
-rw-r--r-- | pod/perlrun.pod | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pod/perlrun.pod b/pod/perlrun.pod index 9078677f35..ae2efe1b6c 100644 --- a/pod/perlrun.pod +++ b/pod/perlrun.pod @@ -1272,19 +1272,19 @@ L</PERL_HASH_SEED_DEBUG> for more information. X<PERL_PERTURB_KEYS> (Since Perl 5.18.0) Set to C<"0"> or C<"NO"> then traversing keys -will be repeatedable from run to run for the same PERL_HASH_SEED. +will be repeatable from run to run for the same PERL_HASH_SEED. Insertion into a hash will not change the order, except to provide for more space in the hash. When combined with setting PERL_HASH_SEED this mode is as close to pre 5.18 behavior as you can get. When set to C<"1"> or C<"RANDOM"> then traversing keys will be randomized. Every time a hash is inserted into the key order will change in a random -fashion. The order may not be repeatedable in a following program run +fashion. The order may not be repeatable in a following program run even if the PERL_HASH_SEED has been specified. This is the default mode for perl. When set to C<"2"> or C<"DETERMINISTIC"> then inserting keys into a hash -will cause the key order to change, but in a way that is repeatedable +will cause the key order to change, but in a way that is repeatable from program run to program run. B<NOTE:> Use of this option is considered insecure, and is intended only |