P is for Practical | |
PerlMonks |
Re: split to hash, problem with random keysby MrCromeDome (Deacon) |
on Jul 03, 2003 at 16:43 UTC ( [id://271222]=note: print w/replies, xml ) | Need Help?? |
The pseudo-random order is because your hash information is stored in (of all things) a hash table. It's not truly pseudo-random: it's the order in which Perl's hashing routines have decided is the most optimal way to store your data. Why? Because as shemp says, "it's faster!" If you want things done in a particular order, the excellent suggestions above will be of great use to you.
Cheers!
In Section
Seekers of Perl Wisdom
|
|