09 December 2005
This post may be outdated due to it was written on 2005. The links may be broken. The code may be not working anymore. Leave comments if needed.
# Console 为控制台,Win2000 下运行 cmd
Console >perl -MCPAN -e shell
# 或者直接 cpan

cpan> install CPANPLUS
cpan> install Test::Reporter
cpan> q

Console >perl -MCPANPLUS -e shell
# 或者直接 cpanp
CPAN Terminal> s edit
# 修改你的配置如 hosts, base 等。测试的话最重要的将 'cpantest' => 1, 这个设置为 1
CPAN Terminal> s save
CPAN Terminal> i CPAN
# 安装模块
CPAN Terminal> q

将 'cpantest' => 1 后
如果安装模块出错(成功也会问)后会问你是否将错误报告给 CPAN
Would you like to send the test report? [y/N]:
到时候选 y 就可以了。

blog comments powered by Disqus