I totally agree with davorg's assessment that what you probably want is ForceArray => 1. I've noted several other potentially useful options here.
However, I would also like to point out that XML::Twig has much to recommend it, including a mode that behaves almost exactly as XML::Simple, but also extensive documents and tutorials. XML::Twig also handles stuff that XML::Simple simply can't.
HTH,
In reply to Re: parsing complex xml structure with xml::simple
by planetscape
in thread parsing complex xml structure with xml::simple
by bfdi533
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |