Perl Monk, Perl Meditation | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
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 In reply to setting PERL_PERTURB_KEYS & PERL_HASH_SEED in a perl file by gravid
|
|