Think about Loose Coupling | |
PerlMonks |
Re: Checking for an installed Module's version.by jwest (Friar) |
on Oct 03, 2002 at 17:20 UTC ( [id://202589]=note: print w/replies, xml ) | Need Help?? |
If the module isa Exporter- or, at least, if it behaves like most CPAN modules I'm familiar with- you can usually find the version at the command line by:
Of course, if you're using ExtUtils::MakeMaker to write the make file, the WriteMakefile method has a parameter called 'PREREQ_PM' that lets you specify the modules you need as well as their minimum versions. Hope this helps! --jwest -><- -><- -><- -><- -><- All things are Perfect To every last Flaw And bound in accord With Eris's Law - HBT; The Book of Advice, 1:7
In Section
Seekers of Perl Wisdom
|
|