conditional use for 'Module::Install::AuthorRequires' to avoid a warning.
okko [Tue, 16 Feb 2010 18:34:33 +0000 (20:34 +0200)]
Makefile.PL

index be5e4d7..c54c51e 100644 (file)
@@ -1,7 +1,7 @@
 use strict;
 use warnings;
 use inc::Module::Install 0.91;
-use Module::Install::AuthorRequires;
+use if $Module::Install::AUTHOR, 'Module::Install::AuthorRequires';
 use Module::Install::AuthorTests;
 
 name 'Catalyst-Controller-MovableType';