Created
October 11, 2011 19:33
-
-
Save raster/1279154 to your computer and use it in GitHub Desktop.
List Installed Perl Modules
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl -w | |
use ExtUtils::Installed; | |
my $instmod = ExtUtils::Installed->new(); | |
foreach my $module ($instmod->modules()) { | |
my $version = $instmod->version($module) || "???"; | |
print "$module -- $version\n"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment