perl 报错 Sorry, we have to rerun the configuration dialog for CPAN.pm due to

来源:互联网 发布:赌场 知乎 编辑:程序博客网 时间:2024/05/21 09:14
当运行cpan时提示:Sorry, we have to rerun the configuration dialog for CPAN.pm due tosome missing parameters...  Will write to <</home/chankey/.cpan/CPAN/MyConfig.pm>>The following questions are intended to help you with theconfiguration. The CPAN module needs a directory of its own to cacheimportant index files and maybe keep a temporary mirror of CPAN files.This may be a site-wide or a personal directory.然后cpan会让你设置参数 一直按回车 到最后输入一个cpan的镜像就好了(http://mirrors.163.com/cpan/)输入完之后用下面的命令保存配置

0 0