gravid has asked for the wisdom of the Perl Monks concerning the following question:
Hi
My hash keys sort acts differently in perl v5.18.4 vs v5.8.9
I found out that I can control that using:
setenv PERL_PERTURB_KEYS 0
setenv PERL_HASH_SEED 0x00
However I want to set those within my script and not in the environment.
I tried:
BEGIN {
$ENV{'PERL_HASH_SEED'} = '0x00';
$ENV{'PERL_PERTURB_KEYS'} = '0';
}
But it doesn't work
Any idea?
Thx
Guy
Back to
Seekers of Perl Wisdom