X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=Makefile.PL;h=3384a3c35b333565bb4bdaf45fd180670206cda7;hp=728350670638ae722bcd193e97e675b43b5ad020;hb=212ba4eef702e4c181720011fbe6c61b84a6feb7;hpb=448e5011e539a42791c6822a3473fb627ce6af41 diff --git a/Makefile.PL b/Makefile.PL index 7283506..3384a3c 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,13 +1,15 @@ use strict; use warnings; use inc::Module::Install 0.87; -BEGIN { # Make it easy for newbies - if ($Module::Install::AUTHOR) { - require Module::Install::AuthorRequires; - require Module::Install::CheckConflicts; - require Module::Install::AuthorTests; - } +{ # Ensure that these get used - yes, M::I loads them for us, but if you're + # in author mode and don't have them installed, then the error is tres + # cryptic. + no warnings 'redefine'; + use Module::Install::AuthorRequires; + use Module::Install::CheckConflicts; + use Module::Install::AuthorTests; } + perl_version '5.008004'; name 'Catalyst-Runtime';