Minilla で Perl モジュールを開発するための環境構築から、実際にモジュールを作ってテストするまでをやってみました。 ライブラリをインストールする場所 以後、環境構築で必要になる実行プログラムやライブラリをインストールするディレクトリが $PERL5_LOCAL_LIB_HOME で参照できるものとします。今回は、$HOME/Developer/Library/Perl としました。
とりあえずCPANAuthorになりたくてやった。後悔はしてない。 / “kazuph/Acme-Tategaki · GitHub” http://t.co/o3gdjA3Zhn— kazuph (@kazuph) 2013, 6月 16 ※追記(2013/06/17)…人生初の知人でない人からpull req来ましたとても嬉しいです。 Perl界ではMinillaというCPANモジュール開発ツールが流行っていたのもあり、ちょうど3年目の同期と「そろそろモジュールとか公開しないとエンジニアとして死ぬ」って言って意気投合し急遽ハッカソンを開くことにしました。 集まったメンバーは 爆速Perlハッカーで同期、id:ntakanashi その実力は部長格、id:hidehigo 神的新人、id:saisa6153 大阪から突如飛来したキチガイPerlMonger、id:papix PHPなら任
タイトルの元ネタはこれ。 本題。ここに書いてあるように、 https://twitter.com/ytnobody/status/335212752857616384 Minillaつかってみた記録&べた褒めするエントリです。(Minilla作者によるエントリはこちら) 1週間くらいMinillaをつかってみましたが、これからPerlモジュールをつくるのなら、Minillaはおそらく最上のツールとして選択肢に上るべきだと思いますね。 CPANにはこれまでもいくつかのモジュール作成支援ツールが登録されてます。例をあげると、 ・ExtUtils::MakeMaker ・Module::Build ・Dist::Zilla ・Module::Starter ・Module::Setup (しばらくこれのデフォルトフレーバーを使ってた) などなどあるわけですが・・・(にわかCPAN
http://shanon-tech.blogspot.jp/2013/05/perl.html Perl モジュールの作り方、2013年においては Authoring tool をつかって作るのがよいです。具体的には Minilla でつくるのがオススメであります。 perlbrew なり plenv なりで perl をいれたあとは、 % cpanm Minillaとして Minilla をインストールします。 % minil new Fooとすると、Foo.pm のスケルトンができあがります。作者の名前などは ~/.gitconfig などから自動的にさがしてきますので、設定不要です。 できあがったディレクトリは以下のような形になっています。 Foo ├── Build.PL ├── Changes ├── cpanfile ├── lib │ └── Foo.pm ├── LI
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く