Module::Install

lib/Foo/Bar.pm

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

Makefile.PL

 use strict;
 use inc::Module::Install;
 
 name('Foo-Bar');
 all_from('lib/Foo/Bar.pm');
 
 WriteAll;

t/00_compile.t

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

参考


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

Last-modified: 2011-01-08 (土) 13:46:02