# 初始化perl配置
o conf init
# 查看perl配置的urllist是什么
o conf urllist
# 弹出 也就是说 删掉 urllist shift配置
o conf urllist shift
# 添加 url配置到 配置文件
o conf urllist push http://42.96.162.172:83/CPAN
# 查看 url配置
o conf urllist
# 添加一个注释
o conf commit
# You can also change it with yourself config file
# 如果是自己的用户 修改 ~/.cpan/CPAN/MyConfig.pm
perl -le 'for (@INC) { $_ .= $ARGV[0]; print if -f }' /CPAN/Config.pm
=> /usr/share/perl5/CPAN/Config.pm
没有评论:
发表评论