ExtUtils::MakeMakerMakefile.PLuse ExtUtils::MakeMaker; WriteMakefile( NAME => 'Foo::Bar', VERSION_FROM => 'lib/Foo/Bar.pm' ); lib/Foo/Bar.pmpackage Foo::Bar; our $VERSION = '0.001'; 1; t/00_compile.tuse strict; use Test::More tests => 1; use_ok('Foo::Bar'); 参考 |
|