in reply to How to access data from arrays with XML::Simple

When dealing with complex datastructures, always bring Data::Dumper along for the ride. Here is some code that enumurates through the param elements of the "testName 1.0.3" <wrapper> tag:
use strict; use warnings; use XML::Simple; use Data::Dumper; my $ref = XMLin(\*DATA, forcearray=>1, keyattr=>{wrapper=>"name"}); # feel free to uncomment these Dumps #print Dumper $ref; for (@{$ref->{wrapper}{'testName 1.0.3'}{parm}}) { #print Dumper $_; while(my ($k,$v) = each %$_) { print "$k => $v\n"; } } __DATA__ <config> ... rest of XML ...
Be sure and check out tye's excellent References quick reference also.

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)