For some years now, I always have a full CPAN mirror on my laptop. I work a lot offline and I like to have it around.
But I noticed that the script he sent me is now (well, I noticed it today…) on CPAN itself, so I just did:
$ sudo bash # cpan CPAN::Mini # cd /sw # mv cpan cpan.full # mkdir cpan # minicpan -l /sw/cpan/ -r file://sw/cpan.full/ # du -hs cpan cpan.full 409M cpan 3.2G cpan.full
hmms… 1.8Gb free space… nice… I keep it up-to-date with
minicpan -l /sw/cpan/ -r ftp://ftp.ip.pt/pub/perl/.