Subject: | Do not blindly forbid keep_atts_order if Tie::IxHash is missing |
Tie::IxHash is currently needed to implement the option keep_atts_order. There is a check in the XML::Twig constructor to enforce that if the keep_atts_order option is used, XML::Twig fails early if Tie::IxHash is missing.
Unfortunately the test is broken: it doesn't check what value is given to keep_atts_order. Which means that if the user sends (keep_atts_order => 0) XML::Twig will fail due to a missing Tie::IxHash (which is my case on my freshly build perl 5.20.0) while the point of the parameter was to explicitely disable the use of Tie::IxHash!
Workaround: install Tie::IxHash
--
Olivier Mengué - http://perlresume.org/DOLMEN