in reply to what modules are present?


Try the below code...it will list the modules installed in your machine.

#!/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";
}