はちゅにっき

こっちのブログはまったり更新

気を抜くとすぐに忘れる "author_tests 'xt'" ってエラー

$ perl Makefile.pl

したときに、出ちゃうエラー。
実はエラーじゃなくて警告?

String found where operator expected at Makefile.PL line 17, near "author_tests 'xt'"
        (Do you need to predeclare author_tests?)
syntax error at Makefile.PL line 17, near "author_tests 'xt'"
Execution of Makefile.PL aborted due to compilation errors.

これ、モジュールが足りないせいっぽいんだけど、1回インストールすると出なくなるので、何をインストールしたら解決するのか、いつも忘れちゃう。
ので、メモ。
必要なのは

Module::Install::AuthorTests

これで、エラーがでなくなる。
わーい。