in reply to Re: Consistent order of (keys %hash)?
in thread Consistent order of (keys %hash)?
To the original poster: relying on an implementation detail like this to do something useful is a bad idea. Especially when it's clearly stated (or at least implied) in the language documentation that the order shouldn't be relied on.
It might be fine for a JAPH or a 1-liner, but using this feature anywhere important is foolish; if the implementation changes, or someone ties the hash an application could screw up...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: Consistent order of (keys %hash)?
by tye (Sage) on Nov 09, 2001 at 01:57 UTC |