13 January 2006
This post may be outdated due to it was written on 2006. The links may be broken. The code may be not working anymore. Leave comments if needed.


use Data::Dumper;
print $INC{'Data/Dumper.pm'};
use %INC;

制作 ppm 专用的 ppd 文件

E:\Fayland\CPAN> perl Build.PL
E:\Fayland\CPAN> perl Build
E:\Fayland\CPAN> perl Build test
E:\Fayland\CPAN> perl Build ppmdist
会升成一个类如 Lingua-Han-Stroke.ppd 和 PPM-Lingua-Han-Stroke-0.04.tar.gz 文件。
他人安装的话使用 ppm install Lingua-Han-Stroke.ppd 就可以了,把这两个文件给他传过去。
这对 Win32 下没有 nmake 的人有点用。

blog comments powered by Disqus