in reply to Re^2: Weird hash order behaviour on several RedHat releases.
in thread Weird hash order behaviour on several RedHat releases.
I just wonder if Red Hat didn't turn the randomization off on purpose in the name of compatibility to make sure that older applications didn't break when keys started to come back randomly. I have no doc that says that's the case, that just seems reasonable to me. Here's the option to do it:
From perlrun:
The default behaviour is to randomise unless the PERL_HASH_SEED is set. If Perl has been compiled with -DUSE_HASH_SEED_EXPLICIT, the default behaviour is not to randomise unless the PERL_HASH_SEED is set.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Weird hash order behaviour on several RedHat releases.
by wazoox (Prior) on Mar 16, 2006 at 17:04 UTC |