in reply to parsing xml file and get the values

Use XML::Simple. Be sure to read about, and use the forceArray => 1 option. Then use Data::Dumper to dump the output from XML::Simple so you can see what part of the data structure you need to probe to uncover the specific values you're seeking. Once you discover that, the rest is trivial.


Dave