Advertisement
Guest User

Untitled

a guest
Jan 17th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.22 KB | None | 0 0
  1. #!/usr/bin/perl
  2.  
  3. use ExtUtils::Installed;
  4. my $instmod = ExtUtils::Installed->new();
  5.  
  6. foreach my $module ($instmod->modules())
  7. {
  8.     my $version = $instmod->version($module) || "???";
  9.     print "$module -- $version\n";
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement