I get error cannot locate object method ancestors.
When you read XML::Twig where is ancestors documented, which package does it belong to?
Try $twig->root->ancestors
In reply to Re: getting ancestors of element
by Anonymous Monk
in thread getting ancestors of element
by jccunning
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |