ExtUtils::MakeMaker

Makefile.PL

 use ExtUtils::MakeMaker;
 
 WriteMakefile(
    NAME         => 'Foo::Bar',
    VERSION_FROM => 'lib/Foo/Bar.pm'
 );

lib/Foo/Bar.pm

 package Foo::Bar;
 our $VERSION = '0.001';
 1;

t/00_compile.t

 use strict;
 use Test::More tests => 1;
 use_ok('Foo::Bar');

参考


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS

Last-modified: 2011-01-08 (土) 13:58:41