Test::TypeConstraintsのレビューをしてもらっていたときにid:gfxさんに教えてもらったのですが、 local $Test::Builder::Level += 2; としていたのですが、これは、「元々の$Test::Builder::Levelに2を足す」、という挙動にはならないです。そもそも、これは、... 続きを読む
http://d.hatena.ne.jp/walf443/20110704/1309738408 で公開した、Test::TypeConstraintsですが、反応をもとに、微調整してCPANへあげました。 type_is_a_okというメソッド名をtype_isaにしました Data::Validatorに依存せず、Mouse::Util::TypeConstraintsを直... 続きを読む
ちょっと固めに書いておきたいところで、メソッドの戻り値の型をテストしておきたくて、Smart::Argsとかを使うのに慣れてくると、ArrayRef[Int]とかでテストできると楽だなぁと思ったので書いてみました。https://github.com/walf443/p5-test-type_constraints... 続きを読む
https://github.com/miyagawa/cpanminus/pull/109I wrote metacpan patch for cpanm. metacpan indexes modules very fast. So you can use "cpanm --metacpan" instead of "cpanf -m"I hope it will be default(It's not now, since metacpan is currently und... 続きを読む
I'm happy to tell you that Glen "tempire" Hinkle has just released the first Mojocast! In this episode you will learn how to install Mojolicious and build your very first web application with it. Future installments of the series and inclusio... 続きを読む
charsbar さんにパッチを送ったら、「commit bit 付けたから自分でリリースしてちょ」って言われたので、先ほど 0.07 をリリースしました。 それはさておき、このモジュールについての情報があんまり世の中に無いようなので、いい機会なので紹介しようかと思い... 続きを読む