Unfortunately, $elt->first_child() doesn't return an element object... so my $RELATIONSHIP = $elt->first_child('LINK_CONFIG')->first_child('RELATIONSHIP')->text; will fail on compilation with "Can't call method "first_child" on an undefined value".
Jason
No one has seen what you have seen, and until that happens, we're all going to think that you're nuts. - Jack O'Neil, Stargate SG-1
In reply to Re^2: XML::Twig and subchildren
by jfroebe
in thread XML::Twig and subchildren
by jfroebe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |