In article <r01050300-1015-5FEA23BDBCEF11D6A613000393570C58@[10.0.0.2]>, "Phil Dobbin" <[EMAIL PROTECTED]> wrote:
> On 31/8/02 at 09:20, [EMAIL PROTECTED] (Erik Price) wrote: > [ .. ] >> wintermute:~$ perl ~/dev/Perl/codelib/PhilDobbinFindModules.pl >> Foundation -- 1.0 >> Perl -- 5.6.0 >> PerlObjCBridge -- 0.9 >> mod_perl -- 1.26 >> wintermute:~$ >> >> This gives me some modules -- but the earlier-posted script (which >> basically searches the directories in @INC I think) gave me a much >> longer list: > > [...] > >> Is there a difference between "installed" modules (presumably from >> ExtUtils::Installed) and just modules (presumably in @INC)? > > Yep. The doo-dah run using ExtUtils::Installed give you a list of the > modules *you've* installed. Kind of like a mini-snapshot. > > Maybe not much use at the moment but a way down the line, when you're > hitting cpan for required modules for say, DBI dependent ingredients, > it's fast and quite useful and helps me keep track. I've written a small script to help assist in tracking module versions of installed modules. It requires the CPAN.pm module >= v1.59 and the Storable.pm module to aid in persistence (such as when you don't want to dump the results to a file, just re-run the same results for viewing in more/less while you update modules via the cpan shell. you can grab it from http://www.webdragon.net/ under the modulreport link. it's basically a slight variation on the theme, here, with a little control structure wrapped around it.