使用CPAN模块自动安装perl模块

命令: perl -MCPAN -e shell  初次运行CPAN时需要做一些设置,一路回车在最后选一个最近的CPAN镜像站点。例如国内的中国自由软件库: ftp://freesoft.cgi.gov.cn/pub/languages/perl/CPAN 获得帮助 cpan>h 列出CPAN上所有模块的列表 cpan>m 安装模块 perl -MCPAN -e shell cpan> install IO::Wrap cpan> install Net::Server cpan> install MIME::Wo[……]

Read more

[…]