写一个cpanfile好了 在 2013年3月17日下午6:05,Ken Peng <[email protected]>写道:
> cpanm可以发现脚本依赖并自动安装相应模块。 > > > 在 2013年3月17日下午5:51,郭腾飞 <[email protected]>写道: > > Hi all, >> 我写的脚本,想上传到github上,但脚本中用到了cpan中的一些模块,如: >> >> 1. use LWP::Simple; >> 2. use Data::Dumper; >> 3. use XML::Simple; >> >> *复制代码* >> 用什么方法可以使别的开发者自动安装脚本中依赖的Perl模块? >> 谢谢~ >> >> ------------------------------ >> Guo Tengfei >> >> -- >> 您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。 >> 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 [email protected]。 >> 要向此网上论坛发帖,请发送电子邮件至 [email protected]。 >> 通过以下网址访问此论坛:http://groups.google.com/group/perlchina?hl=zh-CN。 >> 要查看更多选项,请访问 https://groups.google.com/groups/opt_out。 >> >> >> > > -- > 您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。 > 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 [email protected]。 > 要向此网上论坛发帖,请发送电子邮件至 [email protected]。 > 通过以下网址访问此论坛:http://groups.google.com/group/perlchina?hl=zh-CN。 > 要查看更多选项,请访问 https://groups.google.com/groups/opt_out。 > > > -- 您收到此邮件是因为您订阅了 Google 网上论坛的“PerlChina Mongers 讨论组”论坛。 要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 [email protected]。 要向此网上论坛发帖,请发送电子邮件至 [email protected]。 通过以下网址访问此论坛:http://groups.google.com/group/perlchina?hl=zh-CN。 要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
