How can I find the version of an installed Perl module?

Most modules (especially ones from The CPAN) have a $VERSION variable:

perl -MSome::Module -le 'print $Some::Module::VERSION'

Leave a Comment