Monday, January 3, 2011

perl: check the version of installed modules

To check the version number of a module use the following one-liner: 'perl -M -e 'print "$<module>::VERSION \n"'.

Example:
#-- check the version number of CGI module
perl -MCGI -e 'print "$CGI::VERSION \n"'

No comments: