CPAN
bash$ cpan
cpan[1]> o conf init connect_to_internet_ok urllist
Found /folk/hyang0/.cpan/sources/MIRRORED.BY as of Thu Mar 17 13:40:18 2011
Shall I use the local database in /folk/hyang0/.cpan/sources/MIRRORED.BY? [y] y
(1) Africa
(2) Asia
(3) Central America
(4) Europe
(5) North America
(6) Oceania
(7) South America
Select your continent (or several nearby continents) [] 2
(1) Bangladesh
(2) China
(3) Hong Kong
(4) India
(5) Indonesia
(6) Israel
(7) Japan
(8) Kazakhstan
(9) Pakistan
(10) Philippines
(11) Republic of Korea
(12) Russia
(13) Saudi Arabia
(14) Singapore
(15) Taiwan
(16) Thailand
1 more items, hit RETURN to show them
Select your country (or several nearby countries) []2
(1) ftp://mirror.communilink.net/CPAN/
(2) ftp://mirrors.sohu.com/CPAN/
(3) ftp://mirrors.xmu.edu.cn/CPAN/
(4) http://cpan.wenzk.com/
(5) http://mirror.osqdu.org/CPAN/
(6) http://mirrors.163.com/cpan/
Select as many URLs as you like (by number),
put them on one line, separated by blanks, hyphenated ranges allowed
e.g. '1 4 5' or '7 1-4 8' [] 6 2 4
Enter another URL or RETURN to quit: []
New urllist
http://mirrors.163.com/cpan/
ftp://mirrors.sohu.com/CPAN/
http://cpan.wenzk.com/
commit: wrote '/folk/hyang0/.cpan/CPAN/MyConfig.pm'
cpan[4]> exit
转载于:https://blog.51cto.com/chenshengang/1354066
本文详细介绍了使用CPAN模块进行本地数据库配置的过程。通过选择所在地区及镜像站点,实现CPAN的有效管理与更新,为Perl语言用户提供了一个高效便捷的模块安装途径。
42

被折叠的 条评论
为什么被折叠?



