Rather than trying to install everything, it's better to break
your list down into manageable chunks. For example to install
all modules beginning with "A":
#!/usr/bin/perl
use strict;
use warnings;
use CPAN;
print $_->install()
foreach CPAN::Shell->expand("Module", "/^A/");
I usually break it down even further. For example, all modules starting with "Aa", "Ab", etc.
#!/usr/bin/perl
use strict;
use warnings;
use CPAN;
print $_->install()
foreach CPAN::Shell->expand("Module", "/^Aa/");
print $_->install()
foreach CPAN::Shell->expand("Module", "/^Ab/");
And for an entire namespace, say Catalyst:
print $_->install()
foreach CPAN::Shell->expand("Module", "/^Catalyst/");
|