2009年2月14日星期六

[PerlChina] Re: 使用h2xs生成的Perl moduel,我要在安装的时候将一个脚本放在perl的同一个目录下,怎样写?

BTW Module::Starter is much more easier and friendly than h2xs.

:)

Beckheng Lam wrote:
> Thank you, Fayland!
>
> /Beckheng
>
> Fayland Lam wrote:
>> ExtUtils::MakeMaker has EXE_FILES
>>
>> if you prefer Module::Install like me, try
>> install_script glob('script/*.pl');
>>
>> Thanks.
>>
>>
>> Beckheng Lam wrote:
>>> 假如我有一个脚本,my-script.pl,我要在安装的时候,放到与perl(假设是
>>> /usr/bin/perl,那么就是 /usr/bin/my-script.pl)同一个目录下,Makefile.PL
>>> 如何写?
>>> --
>>> Perl乐事 -- http://www.perlersh.org
>>> 我的博客 -- http://www.perlersh.org/blog.html
>>>
>>>
>>
> --
> Perl乐事 -- http://www.perlersh.org
> 我的博客 -- http://www.perlersh.org/blog.html
>
> >


--
Fayland Lam // http://www.fayland.org/
Foorum based on Catalyst // http://www.foorumbbs.com/


--~--~---------~--~----~------------~-------~--~----~
您收到此信息是由于您订阅了 Google 论坛"PerlChina Mongers 讨论组"论坛。
要在此论坛发帖,请发电子邮件到 perlchina@googlegroups.com
要退订此论坛,请发邮件至 perlchina+unsubscribe@googlegroups.com
更多选项,请通过 http://groups.google.com/group/perlchina?hl=zh-CN 访问该论坛
-~----------~----~----~----~------~----~------~--~---

没有评论: