FutureQuest, Inc. FutureQuest, Inc. FutureQuest, Inc.
Knowledgebase: CGI/Perl
Version of installed perl modules?
Posted on 31 January 2004 01:18 AM
Question:

I saw your FAQ on how to find out if a module is installed
(e.g. perl -MDate::Calc -e '{1}')
But how do I find out the version numbers?

Answer:

There is no requirement for a module to define a version number, but if it does - you can find it via:

$perl -MDate::Calc -e 'print "$Date::Calc::VERSIONn"'

This module does, in fact, define a version... :)