in reply to Parsing XML::Simple

langSet is an array of things:
for my $entry ( @{ $data->{termEntry} } ) { for (@{ $entry->{langSet} }) { printf "term: %s\n", $_->{termGrp}{term}; } }

Replies are listed 'Best First'.
Re^2: Parsing XML::Simple
by Anonymous Monk on May 01, 2017 at 21:13 UTC

    Ah, I had not thought about it. I was now playing with the option "forcearray => 1" to change the data structure, but your solution works perfectly. Thanks.