No such thing as a small change | |
PerlMonks |
Re: ReadParse and Hash Valueby boftx (Deacon) |
on Nov 07, 2014 at 04:50 UTC ( [id://1106449]=note: print w/replies, xml ) | Need Help?? |
You can not know the order of hash elements by definition. This is a security feature in Perl. The best you can do is do sort(keys(%hash)) to impose order on them. On the order hand, you have full control over the order of elements in an array.
You must always remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.
In Section
Seekers of Perl Wisdom
|
|