[Catalyst-commits] r11048 - Catalyst-Runtime/5.80/trunk

t0m at dev.catalyst.perl.org t0m at dev.catalyst.perl.org
Fri Aug 7 00:24:17 GMT 2009


Author: t0m
Date: 2009-08-07 00:24:17 +0000 (Fri, 07 Aug 2009)
New Revision: 11048

Modified:
   Catalyst-Runtime/5.80/trunk/Makefile.PL
Log:
Blow up if we're in author mode and don't have the right M::I extensions

Modified: Catalyst-Runtime/5.80/trunk/Makefile.PL
===================================================================
--- Catalyst-Runtime/5.80/trunk/Makefile.PL	2009-08-07 00:15:04 UTC (rev 11047)
+++ Catalyst-Runtime/5.80/trunk/Makefile.PL	2009-08-07 00:24:17 UTC (rev 11048)
@@ -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';




More information about the Catalyst-commits mailing list