in reply to Re: Re: find_inst_mod_vers.pl
in thread find_inst_mod_vers.pl
Your script identifies every single module installed, ExtUtils::Installed (part of ExtUtils::MakeMaker) shows only the version of the module containing the modules... ahem, there is a little confusion here with the use of the word 'module', at least for me :) Here is the code I used:
use ExtUtils::Installed; my ($inst) = ExtUtils::Installed->new(); my (@modules) = $inst->modules(); foreach (@modules) { print $_, ' v', $inst->version($_), "\n"; }
The main difference is that ExtUtils::Installed relies on the use of .packlist file.
Ciao, Valerio
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: find_inst_mod_vers.pl
by demerphq (Chancellor) on Dec 09, 2002 at 17:45 UTC | |
by pfaut (Priest) on Dec 09, 2002 at 18:01 UTC |