Calling tag on undefined value is probably the parent call. Adding a "defined" test there will probably do the trick. But I will suggest that the strength of the module is in using xpath so you rarely need to do a traverse in the first place. ≤/P>
In reply to Re^3: Is it possible to parse an XML file recursively using XML::Twig?
by Preceptor
in thread Is it possible to parse an XML file recursively using XML::Twig?
by Ppeoc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |