How to Display Installed Perl Modules
![Published Date](https://www.ericmichaelstone.com/wp-content/themes/me3/images/calendar.png)
[code lang=”perl”]
#!/bin/perl
use ExtUtils::Installed;
my $instmod = ExtUtils::Installed->new();
foreach my $module ($instmod->modules()) {
my $version = $instmod->version($module) || "???";
print "$module — $version\n";
}
[/code]
Leave Your Comment![Leave a comment](https://www.ericmichaelstone.com/wp-content/themes/me3/images/comments.png)
All fields marked with "*" are required.