in reply to Installed modules and their versions

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.

  • Comment on Re: Installed modules and their versions