On Wed, 21 Jun 2006, Paul Gowers wrote:
> Thanks for the reply Jan. However I am not seeing different ordering from
> keys in successive runs of
> the program either, although I can see the hash seed is changing.
>
> If I run this script:
>
> #!/usr/bin/perl
> @h{1..1000} = (1..1000);
> $, = "\n";
> print keys %h;
>
> and redirect successive runs to different files and then run diff on them,
> they are identical. I do
> see the HASH_SEED changing for each run still.
>
> Any ideas why this should be?
Sorry, no idea. I would expect to see different output from different runs.
Note that ActivePerl disables hash randomization to maintain binary
compatibility with earlier releases, so you won't see any of
these effects with ActivePerl.
Cheers,
-Jan
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs