Odd number of elements in anonymous hash at line 29
twig_roots => { 'Misc' },
There is your anonymous hash with an odd number of elements. It has only one element which is the scalar string 'Misc'. If it is supposed to be a hash it should have key-value pairs instead.
In reply to Re: Error when using twig_roots in XML::Twig
by hippo
in thread Updated: How to parse my XML file in the following way using XML::Twig
by Ppeoc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |