#!/usr/bin/perl use strict; use warnings; use CPAN; print "perl $]\n"; my (@tools) = ( "AppConfig", "Class::Std::Fast", "Data::Dumper", "Date::Parse", "Date::Format", "Devel::Loaded", "ExtUtils::MakeMaker", "File::Basename", "File::Path", "Getopt::Long", "List::Util", "LWP::UserAgent", "Template", "Term::ReadKey", "URI", "Cwd", "Module::Build", "File::Spec", "SOAP::WSDL", "Storable", "Test::More"); foreach my $tool(@tools) { system("pmpath $tool"); system("pmvers $tool"); CPAN::Shell->install($tool); }