in reply to Updated: How to parse my XML file in the following way using XML::Twig
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Error when using twig_roots in XML::Twig
by Ppeoc (Beadle) on Nov 26, 2015 at 15:17 UTC |