![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re: XML::Simple: list all element attributesby frozenwithjoy (Priest) |
on Apr 08, 2015 at 06:03 UTC ( #1122772=note: print w/replies, xml ) | Need Help?? |
When I add this:
I get this out:
There is no key called 'App', so your @{$data->{App}{node}} is an empty list. If I change your for loop to this:
I get what you were expecting:
If you want to keep the root key, you can use the following and keep your original loop.
In Section
Seekers of Perl Wisdom
|
|