in reply to Duplicate XML Node Question

findnodes returns a node list. You have to iterate over it the same way you already did for the parent node:
for my $test ($xml->findnodes('/parent_node')) { for my $mystring ($test->findnodes('node2/child_node_a')) { print $mystring, "\n"; } }
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Replies are listed 'Best First'.
Re^2: Duplicate XML Node Question
by omegaweaponZ (Beadle) on Sep 18, 2014 at 17:38 UTC
    Makes perfect sense, that's exactly what I needed to do. Thanks!