in reply to Easiest way to find all the Perl Modules on a system?
try:ExtUtils::Installed provides a standard way to find out what core an +d module files have been installed.
I guess if you specify the directory to search, you can separate the Core modules out.#!/usr/bin/perl use ExtUtils::Installed; my ($inst) = ExtUtils::Installed->new(); my (@modules) = $inst->modules(); foreach (@modules) { print $_, ' v', $inst->version($_), "\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Easiest way to find all the Perl Modules on a system?
by jettero (Monsignor) on Dec 14, 2006 at 15:25 UTC |