is the output the same every time the program is run Or is there a possibility of the output being different (basically is there a random component, every time the program is run, to the ordering of the hash keys given that the key and the values stay the same).%hash = ( '1' => 'one', '2' => 'two', '3' => 'three',); for $key (keys %hash) { print "$key\n"; }
In reply to random behaviour of perl hashes by evilgoblin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |