[Classiccity-pm] Checking version of an installed module?
Jim Gifford
jim at giffords.net
Tue Aug 5 14:03:21 CDT 2003
On Tue, Aug 05, 2003 at 02:55:23PM -0400, Darrell Golliher wrote:
>
> From time to time I get curious about what version of a module, like
> DBI, is installed on a system. Does anybody know of a way to find it
> without visiting the module itself and viewng it's source?
>
> tia,
>
> -Darrell
Assuming well-behaved (ie, following the normal guidelines) modules, this
should work:
perl -MMyModule -e 'print $MyModule::VERSION,"\n"'
hope this helps,
jim
More information about the Classiccity-pm
mailing list