in reply to XML::Simple parsing into a hash wierd behaviour
XML::Simple is one of the most complicated XML parsers I know, in part because you need to instruct it about the structure of the XML document you are parsing.
In this case, I think what you need is
ForceArray => [qw( type )]
An alternative solution with side-effects:
ForceArray => 1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: XML::Simple parsing into a hash wierd behaviour
by Jenda (Abbot) on Apr 20, 2010 at 11:15 UTC | |
by ikegami (Patriarch) on Apr 20, 2010 at 15:56 UTC | |
by Jenda (Abbot) on Apr 21, 2010 at 10:31 UTC | |
by ikegami (Patriarch) on Apr 22, 2010 at 02:18 UTC | |
|
Re^2: XML::Simple parsing into a hash wierd behaviour
by PeterPeiGuo (Hermit) on Apr 20, 2010 at 06:14 UTC | |
by ikegami (Patriarch) on Apr 20, 2010 at 06:19 UTC |