To list all installed perl modules
1 2 3 4 5 6 7 8 9 10 11 12 |
#!/usr/bin/perl # ## # #!/usr/bin/perl use ExtUtils::Installed; my $instmod = ExtUtils::Installed->new(); foreach my $module ($instmod->modules()) { my $version = $instmod->version($module) || "???"; print "$module -- $version\n"; } |