- 论坛徽章:
- 0
|
本帖最后由 Perl_Er 于 2013-03-17 21:11 编辑
回复 1# 好吃的terry
把你自己的脚本也做成一个模块,然后在Makefile.PL里面定义依赖关系,http://www.perlmonks.org/?node_id=431702#makefile_pl
Makefile.PL
There is a file called Makefile.PL. By looking at it, you might think that you actually don't need to do anything to it; and that might be true, most of the times.
If you used h2xs, you should check its parameters. Otherwise, you should be fine.
However, there is one situation when you absolutely should update Makefile.PL: when you use other modules. That is, when your module has dependencies.
Just go there and add something like this:
然后用cpanm安装
http://gugod.org/2010/02/cpanm-cpan/ |
|