如何使用cpan命令下载模块的源代码?

时间:2012-11-19 12:21:24

标签: perl cpan

是否可以使用cpan命令下载Perl模块的源代码?怎么样?

2 个答案:

答案 0 :(得分:3)

the cpan man page,我们看到那就是“cpan -g Modulename”的作用

   -g module [ module ... ]
       Downloads to the current directory the latest distribution
       of the module.

答案 1 :(得分:2)

look互动命令

cpan> look Modulename