cog has asked for the wisdom of the Perl Monks concerning the following question:
For the part of showing the installed modules, this would do the trick:
#!/usr/bin/perl
use strict;
use ExtUtils::Installed;
print for ( ExtUtils::Installed->new->modules );
As for the part of displaying the versions, it became more tricky... "Why?", many would say? "You simply load the module and print Module->VERSION or something, right?"
Wrong... what about modules that do unwanted things on startup? If you still don't know what I'm talking about, take a look at modules such as Acme::Bleach, Acme::emcA and so on...
Any ideas?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Installed modules and their versions
by Fletch (Bishop) on Jan 07, 2005 at 09:27 UTC | |
by bibliophile (Prior) on Jan 07, 2005 at 14:30 UTC | |
Re: Installed modules and their versions
by Corion (Patriarch) on Jan 07, 2005 at 09:28 UTC | |
Re: Installed modules and their versions
by r34d0nl1 (Pilgrim) on Jan 07, 2005 at 10:54 UTC | |
Re: Installed modules and their versions
by zentara (Cardinal) on Jan 07, 2005 at 14:44 UTC | |
by Anonymous Monk on Jan 08, 2005 at 06:15 UTC | |
Re: Installed modules and their versions
by theorbtwo (Prior) on Jan 10, 2005 at 18:16 UTC |