in reply to hash sequence error

Your message in the CB:
satzbu says Re Re: hash sequence error. Thank you sir. My ultimate aim is store an XML file in hash without changing the structure and I have some process over the hash value and then retrieve the hash value as an xml. This is my ultimate aim sir please help me.
A hash is not the right way to store data if the sequence is important.

But when you intend to transform or select parts of the XML-file and the result must be another XML file, perhaps you should look into other solutions, such as XSLT or XML::XPath.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James