Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Perl Modules and different perl directories

Status
Not open for further replies.

csgonan

MIS
Joined
May 2, 2007
Messages
118
Location
US
My new solaris server has perl 5.8.4 installe by default. I upgraded to 5.8.8. When I try and install certain perl modules using MCPAN, many times I get "up to date". But when I run the script from the perl site to check perl modules, I do not see many of the modules that are indicated as "up to date". This is the script. I searched around and see a perl5 directory in /usr that points to a 5.8.4 install of perl but some of those site-perl directories are empty. How can I see what perl directory MCPAN is using for the install, what this script uses for the install, and what path perl scripts will use for the install?

Thanks

use ExtUtils::Installed;
my $instmod = ExtUtils::Installed->new();
foreach my $module ($instmod->modules()){
my $version = $instmod->version($module) || "???";
print "$module -- $version\n";
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top