Joshi Mandar-R9121Z wrote:
>Can somebody tell me how to check which all perl modules are already installed ?
>
>Regards
>Mandar
>
>
>
Try this:
#!/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";
}
--
=====================
Patrick LeBoutillier
Laval, Quebec, Canada
>Can somebody tell me how to check which all perl modules are already installed ?
>
>Regards
>Mandar
>
>
>
Try this:
#!/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";
}
--
=====================
Patrick LeBoutillier
Laval, Quebec, Canada