wrote:
> I know that you cannot rely on a specific order from keys stored in a
> hash -- however -- I did get a consistant order one way in 5.6.1 now I
> get a consistant yet different order now in 5.8
Correct.
> It appeared that it was alpabetical (for $asm) in 5.6.1. and now
> reverse alphabetical in 5.8
>
> ? anyone else notice this ?
Yes.
> I can just use a sort command with my keys -- just thought it was odd
> that it was different.
No it's not really odd, since it is documented. From 'perldoc -f keys':
The actual random order is subject to
change in future versions of perl, but it is
guaranteed to be the same order as either the
"values" or "each" function produces ...
It is probably the side-effect of some internal optimization.
--Ala