in reply to Re: Determining Installed Twig Version
in thread Determining Installed Twig Version

This also works and is slightly more functional if the previous version doesn't work. The difference is that if the version isn't declared exactly where you guessed at, this will look around in some other places to find it.

perl -MXML::Twig -le 'print XML::Twig->VERSION'