Do what CPAN.pm does, and grep for the first line containing the string $VERSION, and eval that line. Or, if you eschew eval, there is a new module in the PPI namespace that tries to replicate the eval needed for CPAN.pm.
In reply to Re: Installed modules and their versions
by Corion
in thread Installed modules and their versions
by cog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |