Let me call your attention to the documentation for XML::Simple, in particular the part where it notes some assumptions that must hold. Specifically, the part where it says "You don't mind that when things get slurped into a hash, the order is lost".
It notes that "...you'll probably outgrow these assumptions fairly quickly". You probably need to switch to another module.
In reply to Re: help to preserve the order of hash
by herveus
in thread help to preserve the order of hash
by satzbu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |