in reply to Re^2: Hash order randomization is coming, are you ready?
in thread Hash order randomization is coming, are you ready?
A casual test looks like that statement is still true:
use 5.17.6; use strict; use warnings; my %a = ( z => 1, y => 2, x => 3); foreach (1..3) { print join(",", keys %a), "\n"; print join(",", values %a), "\n"; while (my ($d,$e) = each %a) { print "$d = $e\n"; } }
run 1
z,y,x 1,2,3 z = 1 y = 2 x = 3 z,y,x 1,2,3 z = 1 y = 2 x = 3 z,y,x 1,2,3 z = 1 y = 2 x = 3
run 2
x,y,z 3,2,1 x = 3 y = 2 z = 1 x,y,z 3,2,1 x = 3 y = 2 z = 1 x,y,z 3,2,1 x = 3 y = 2 z = 1
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Hash order randomization is coming, are you ready?
by demerphq (Chancellor) on Dec 02, 2012 at 10:03 UTC |
In Section
Meditations