WANDA B Anon <[email protected]> writes:
> It seems to me that cpan downloads the most recent version of modules
> needed as prerequisites when they are not in minicpan.
>
> If they are not in minicpan, wouldn't it be nice if they were put
> there so they will be found next time? (or is this being done?) Can I
> set some variables to make this happen?
Here my opinion to get you inspired:
After years of experimenting with "half-real" cpans like minicpan today
I do either
- completely self-curated local cpan using Pinto dedicated for my
use-case or project, see
https://metacpan.org/pod/Pinto::Manual
or
- full real cpan mirror (yep, 20GB), using rrr:
# Preparation:
cpanm File::Rsync::Mirror::Recent
alias mirror_cpan='mkdir -p ~/CPAN ; rmdir
~/recent-rmirror-state.yml.lock/ 2> /dev/null ; rrr-client --source
cpan-rsync.perl.org::CPAN/RECENT.recent --target ~/CPAN/'
alias cpanml='cpanm --mirror ~/CPAN --mirror-only'
# Update mirror
mirror_cpan # let it run in background or occasionally
# Install from it
cpanml
Acme::All::Of::CPAN::Well::Not::Really::But::You::Know::What::I::Mean
Kind regards,
Steffen
--
Steffen Schwigon <[email protected]>
Dresden Perl Mongers <http://dresden-pm.org/>