in reply to Re^2: How can I keep or discard certain blocks of an XML file based on first line of block?
in thread How can I keep or discard certain blocks of an XML file based on first line of block?

For the attributes order see this section in XML::Twig
keep_atts_order Setting this option to a true value causes the attribute hash to b +e tied to a Tie::IxHash object. This means that Tie::IxHash needs to +be installed for this option to be available. It also means that the +hash keeps its order, so you will get the attributes in order. This a +llows outputting the attributes in the same order as they were in the + original document.
poj
  • Comment on Re^3: How can I keep or discard certain blocks of an XML file based on first line of block?
  • Download Code

Replies are listed 'Best First'.
Re^4: How can I keep or discard certain blocks of an XML file based on first line of block?
by Anonymous Monk on Jun 26, 2014 at 22:31 UTC
    Sorry, I COMPLETELY overlooked the part about needing to install Tie::IxHash. Now keep_atts_order => 'TRUE', works great on the Windows box also! Thanks again and sorry I didn't read more carefully.