in reply to XML::Twig - trying to simplify syntax
Also: my $bar=$twig->get_xpath($my_xpath, 0)->text;. I see that the optional third argument, although mentioned in the docs, is not properly documented. I'll update it. Thanks