LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Blogs > rn_
User Name
Password

Notices

Uncategorized Entries with no category
Old

List Perl Modules and Versions

Posted 10-30-2009 at 11:17 AM by rn_

Code:
#!/usr/bin/perl
# list installed modules
use ExtUtils::Installed;
my $instmod = ExtUtils::Installed->new();
foreach my $module ($instmod->modules()) {
  my $version = $instmod->version($module) || "???";
  print "$module -- $version\n";
}
rn_
Member
Posted in Uncategorized
Views 803 Comments 0 rn_ is offline

  



All times are GMT -5. The time now is 08:34 PM.

Main Menu
Advertisement

Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration