LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10: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 1113 Comments 0 rn_ is offline

  



All times are GMT -5. The time now is 03:27 AM.

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
Open Source Consulting | Domain Registration