http://qs321.pair.com?node_id=529782


in reply to Re: XML Parse, Spanish Elements
in thread XML Parse, Spanish Elements

I'm not such a big fan of XML::Simple since the parsing into different types is very unconfortable. For example if a node contains one subnode, the subnode is a hash element in the node itself,

You can use use the argument ForeArray to overcome that problem:
my $xs = new XML::Simple(ForceArray => 1); Now all elements are read as an array.

"We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.