in reply to find_inst_mod_vers.pl

Is it different from ExtUtils::Installed? hacker used this module to build MoDetails v0.2.

Ciao, Valerio

Replies are listed 'Best First'.
Re: Re: find_inst_mod_vers.pl
by demerphq (Chancellor) on Dec 09, 2002 at 16:05 UTC
    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....

      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

        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....