After this, $h->person[2]->{lastname} would return 'Creer'.use XML::Simple qw(:strict); ... my $h=XMLin('your-xml-code-or-file-name-goes-here', forcearray => [ qw(person) ], keyattr => []);
In reply to Re: Trees in XML
by rovf
in thread Trees in XML
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |