From: Tomas Doran Date: Fri, 7 Aug 2009 00:24:17 +0000 (+0000) Subject: Blow up if we're in author mode and don't have the right M::I extensions X-Git-Tag: 5.80008~37 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=9a2055d721a3eda1d204bfe228741008887e75ba;hp=1a100108e04f90274fdbd19a7d5a2c2ec968a7c7 Blow up if we're in author mode and don't have the right M::I extensions --- diff --git a/Makefile.PL b/Makefile.PL index ef3263a..db9d2df 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,5 +1,12 @@ +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; + } +} perl_version '5.008006'; name 'Catalyst-Runtime';