in reply to Problem parsing XML into arrays using XML::Simple
Also, in case you don't know in advance whether there will be one or more entries for "asset", you might want to look into the ForceArray option.
This might ease accessing elements, as you then wouldn't have to test first whether it's an array...
|
|---|