perl cpanm

前端之家收集整理的这篇文章主要介绍了perl cpanm前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

1.

安装perl模块 对于新手来说是一个比较麻烦的事情,现在有一个比较好的工具可以解决这个问题,正题如下:

wget   http://xrl.us/cpanm   --no-check-certificate -O cpanm
chmod u+x cpanm
设置环境变量:
export PERL_CPANM_OPT="--prompt -v -l /home/mengalong/local  --mirror http://mirrors.sohu.com/CPAN --mirror-only"
安装模块:
./cpanm FreezeThaw

搞定,模块就安装到了 /home/mengalong/local 下

更多查看:./cpanm --help

from:http://blog.chinaunix.net/uid-20753645-id-3761011.html

2.

这个感觉不太好用,不如http://www.voidcn.com/article/p-sbtupsmf-bkr.html 中的方法好。

猜你在找的Perl相关文章