in reply to preserve the order of hash

dear monks i want to convert an xml file as hash i m using the following code the output not in the correct order how can i preserve the order when convert the xml file as hash
$ english your.txt syntax error: expected capital letter 'dear' syntax error: expected comma after 'monks' syntax error: expected period after 'hash' Too many compile errors to continue :)
Like Perl, the English language has syntax rules. If you can compose Perl code which compiles, as you have done, surely you must have the capacity to construct 3 or 4 English sentences. You'd be surprised how easy it is to occasionally employ capital letters and punctuation marks, with the side benefit of more people understanding your question and providing more help to you.

Replies are listed 'Best First'.
Re^2: preserve the order of hash (OT: English compiler)
by LanX (Saint) on Jun 19, 2010 at 18:30 UTC
    May I ask, how many languages you speak? :-)

    Cheers Rolf