[Classiccity-pm] Checking version of an installed module?

Darrell Golliher darrell at golliher.net
Tue Aug 5 14:11:44 CDT 2003


On Tue, Aug 05, 2003 at 03:03:21PM -0400, Jim Gifford wrote:

> 
> Assuming well-behaved (ie, following the normal guidelines) modules, this
> should work:
> 
> perl -MMyModule -e 'print $MyModule::VERSION,"\n"'
> 
  Thanks for the reply.  A quick check of three modules yields 1
  success and 2 failures.   Bummer.

perl -MDBI -e 'print $DBI::VERSION,"\n"'
perl -MDBI -e 'print $DBD::mysql::VERSION,"\n"'
perl -MTime::HiRes -e 'print $Time::HiRes,"\n"'

   Anybody have another idea?


-Darrell



More information about the Classiccity-pm mailing list