Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: parsing XML structure

by grantm (Parson)
on Mar 31, 2012 at 02:23 UTC ( [id://962706] : note . print w/replies, xml ) Need Help??


in reply to parsing XML structure

If you're unclear on how to extract data from nested hashes and arrays, perhaps Mark's very short tutorial about references would be a good place to start. Viewing the output using Data::Dumper (or YAML or JSON with pretty formatting turned on) would probably give a clearer illustration of the structure.

If you're new to XML::Simple I recommend reading up on how to avoid common pitfalls as well as one suggestion on a better module to use.