From: okko Date: Tue, 16 Feb 2010 18:34:33 +0000 (+0200) Subject: conditional use for 'Module::Install::AuthorRequires' to avoid a warning. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Controller-MovableType.git;a=commitdiff_plain;h=f50d523fb5632e814b70a70d5b80acea541a46c4 conditional use for 'Module::Install::AuthorRequires' to avoid a warning. --- diff --git a/Makefile.PL b/Makefile.PL index be5e4d7..c54c51e 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -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';