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

Darrell Golliher darrell at golliher.net
Tue Aug 5 14:29:10 CDT 2003


On Tue, Aug 05, 2003 at 03:11:44PM -0400, Darrell Golliher wrote:
> 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"'

  Worked.

> perl -MDBI -e 'print $DBD::mysql::VERSION,"\n"'
         ^^^
            oops, my goof.
   

> perl -MTime::HiRes -e 'print $Time::HiRes,"\n"'
                                          ^^^^
                                           Doah, another goof.

Thanks guys,

Darrell






   



More information about the Classiccity-pm mailing list