Use Module::Version to get the version of an installed Perl module
In response to our article 3 quick ways to find out the version number of an installed Perl module from the terminal, programmer Ron Savage got in touch to point out that it’s possible to use the Perl module Module::Version to get the version number of an installed module.
Module::Version comes with a useful command line program, mversion which when passed the name of a module, will print the version out. Simply install Module::Version via CPAN and mversion will be installed automatically.
Once Module::Version is installed, to get the version number of Module::Build (for example) using mversion, go to the command line and type: