Makefile.PL accepts --author option, to install author's prerequisites
gfx [Mon, 8 Mar 2010 05:51:33 +0000 (14:51 +0900)]
Makefile.PL

index cbcd6ae..daf48fa 100755 (executable)
@@ -1,3 +1,11 @@
+# for developpers:
+BEGIN{
+    if(grep{ $_ eq '--author' } @ARGV){
+        print "^X -S cpanm < author/requires.cpanm\n";
+        system "$^X -S cpanm < author/requires.cpanm";
+    }
+}
+
 use strict;
 use warnings;
 use inc::Module::Install;