17 November 2005
This post may be outdated due to it was written on 2005. The links may be broken. The code may be not working anymore. Leave comments if needed.
以下只是简单的纪录。详细的怎么弄有空会写。

module-starter --module=Lingua::Han::Cantonese --author="Fayland Lam" [email protected] --mb
cd Lingua-Han-Cantonese
# 写代码和测试文件
prove -l t/*
perl Build.pl
perl Build
# 删除 MANIFEST
perl Build manifest
perl Build dist
perl Build realclean

tips

  • 如果 lib 目录下有不是 pm 文件而是什么 data 文件的话,比如 Cantonese.dat, Module::Build 默认不会包括。你可以这么在 Build.PL 里加进这句:
    $builder->add_build_element('dat');


blog comments powered by Disqus