简体   繁体   English

如何获得最新的CPAN.pm中的镜像列表?

[英]How can I get list of mirrors in newest CPAN.pm?

In old CPANs, when you run it first time, it asked you for the continent/country your're in, and then gave you a way to choose mirror. 在旧的CPAN中,第一次运行时,它会询问您所处的大陆/国家/地区,然后为您提供一种选择镜像的方法。

Now it doesn't ask this question! 现在它不问这个问题了! I can of course find mirror manually, and put it in urllist, but the geographical browsing in CPAN was really handy, but I can't seem to be able to get it any longer. 我当然可以手动找到镜像,并将其放在urllist中,但是CPAN中的地理浏览确实非常方便,但是我似乎再也无法获得它。

Was this feature removed, or am I simply missing something? 是否删除了此功能,或者我只是缺少什么?

Try entering o conf init urllist into the CPAN shell. 尝试在CPAN shell中输入o conf init urllist This gives me the geographical menu you are looking for. 这为我提供了您要查找的地理菜单。 (I've got cpan script version 1.9; CPAN.pm version 1.9402; perl, v5.10.0 built for i486-linux-gnu-thread-multi) (我有1.9版的cpan脚本; 1.9402版的CPAN.pm;为i486-linux-gnu-thread-multi构建的perl v5.10.0)

According to the documentation , you have to set this manually. 根据文档 ,您必须手动设置。 A list of mirrors is avaliable here 镜子列表在这里可用

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM