当前位置: 首页 > 工具软件 > CPAN > 使用案例 >

perl 切换cpan

东门佐
2023-12-01
<pre name="code" class="html">linux 切换cpan:
(echo o conf urllist unshift http://mirrors.163.com/cpan/ http://mirrors.sohu.com/CPAN/  http://www.perl.com/CPAN/; echo o conf commit) | perl -MCPAN -e shell

windows:
C:\Users\Administrator>perl -MCPAN -e shell
Set up gcc environment - 3.4.5 (mingw-vista special r3)


cpan shell -- CPAN exploration and modules installation (v1.9800)
Enter 'h' for help.


cpan> (echo o conf urllist unshift http://mirrors.163.com/cpan/ http://mirrors.sohu.com/CPAN/  http://www.perl.com/CPAN/; echo o conf commit)
Unknown shell command '(echo'. Type ? for help.


cpan> echo o conf urllist unshift http://mirrors.163.com/cpan/ http://mirrors.sohu.com/CPAN/  http://www.perl.com/CPAN/; echo o conf commit
Unknown shell command 'echo'. Type ? for help.


cpan> o conf urllist unshift http://mirrors.163.com/cpan/ http://mirrors.sohu.com/CPAN/  http://www.perl.com/CPAN/;
Pl
 类似资料: