[lug] any command to check if a perl module is on the system
dan radom
dan at radom.org
Sat Feb 16 09:49:43 MST 2002
#!/usr/local/bin/perl
use ExtUtils::Installed;
my $instmod = ExtUtils::Installed->new();
foreach my $module ($instmod->modules()) {
my $version = $instmod->version($module) || "???";
print "$module -- $version\n";
}
enjoy,
dan
* Aime (kokou.klougbo at pandora.be) wrote:
> hello,
>
> I would like to know if there is a simple command to check if a given modules is already installed on a system.
> for instance if i want to know if IPC::Open2 is on my system , what can I do ?
>
> thanks
More information about the LUG
mailing list