No idea. I have never heard of ExtUtils::Installed.
Primarily it just prints out a formatted report of the modules, their version and their path.
--- demerphq
my friends call me, usually because I'm late....
| [reply] |
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 | [reply] [d/l] |
Yes I understood you :-). In our group we do a lot of installing modules straight from source safe. Also from ppm and also by hand, and also by patching existing modules (and changing their version numbers accordingly). So looking at .packlist doesnt help much.
Anyway, TMTOWTDI. :-)
Thanks for the heads up about this module, apparently pfaut found it more interesting than the script... :-)
--- demerphq
my friends call me, usually because I'm late....
| [reply] |