in reply to Trees in XML
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 => []);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Trees in XML
by Anonymous Monk on Jun 03, 2008 at 11:30 UTC | |
by rovf (Priest) on Jun 03, 2008 at 11:49 UTC | |
by Anonymous Monk on Jun 03, 2008 at 12:59 UTC | |
by mirod (Canon) on Jun 03, 2008 at 13:33 UTC |