in reply to Re^4: XML::Simple parsing into a hash wierd behaviour
in thread XML::Simple parsing into a hash wierd behaviour

Query mechanisms have two problems ... it's yet another language to learn

I'd rather learn

Persons/Person
then learning to do
GroupTags => { Persons => 'Person' }, ForceArray => [qw( Person )], my @persons = $parent->{Persons} ? @{ $parent->{Persons} } : ();

and it's slow.

That's not the case. XML::Simple is still *far* slower.

The ->nodeValue()s and ->getAttribute()s all over the place will hurt though.

I have no problem with a little more wordiness in a series of cut and paste lines if all trickiness goes away in exchange.