I've had success getting cpanm to install from a minicpan mirror with cpanm --mirror ~/.minicpan --mirror-only Module::Name
But I can't figure out how to do the same with Carton.
I'd like to be able to just carton install
when I'm offline / on a plane and tell it to use my minicpan mirror.
I've tried exporting like so export PERL_CPANM_OPT="--mirror ~/.minicpan --mirror-only"
with no luck.
Any advice appreciated.
来自miyagawa的答案: PERL_CARTON_MIRROR=/home/user/minicpan
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.