How about a different approach:
or some such argument. Are there other methods that might benefit from the same treatment? Would that make more sense than adding a new method, or would that not fit with the general way that XML::Twig works?my $text = $elt->text('-nochildren');
In reply to Re^2: Get text without children in XML::Twig
by herveus
in thread Get text without children in XML::Twig
by shamu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |