|
|||
|
|||
|
Listing Installed Perl Modules I have not posted in a month and a half since I was busy, but I recently needed to move some of my perl scripts over to a new faster box. In doing so though I would need to also install required perl modules on the new box like I had installed on my old box. But I do not remember every perl module I installed, so I needed a way to list them. So here is a simple perl script to accomplish this task. Open a new text file and copy the code below into it.
#!/usr/local/bin/perl
use ExtUtils::Installed;
my $instmod = ExtUtils::Installed->new();
foreach my $module ($instmod->modules()) {
my $version = $instmod->version($module) || "???";
print "$module -- $version/n";
}
After saving run the script as root using perl
Other ImprovedSource Articles: |
|||
ImprovedSource. Copyright 2007
+ Contact Us + Home
+ Search
+ RSS Feed |
|||