|Perl Monk, Perl Meditation|
Re^2: XML Parse, Spanish Elementsby jbrugger (Parson)
|on Feb 13, 2006 at 10:19 UTC||Need Help??|
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.