in reply to help to write perl code

Hi achs, welcome to the Monastery!

This site isn't a code writing service, its purpose is learning. What have you tried? What problems have you had?

Haven't you simplified the format of the input file? <bit 7> can't occur in an XML file, as only attributes are allowed after an element name, and an attribute's name can't start with a digit, and must be followed by a = and the value.

Update: Also, sentences in uppercase are usually interpreted as shouting. Don't shout without a good reason.

لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ