Fixed restarter by backing out Class::C3 fix
Andy Grundman [Wed, 30 Nov 2005 21:07:11 +0000 (21:07 +0000)]
Changes
lib/Catalyst/Helper.pm

diff --git a/Changes b/Changes
index dfe4496..77d7709 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
 This file documents the revision history for Perl extension Catalyst.
 
+5.60
+        - Fixed restarter.
+
 5.59    2005-11-30 13:25:00
         - Fixed shebang line for generated scripts
         - Fixed forward to classes ($c->forward(qw/MyApp foo/))
index 014fc5f..81ddc02 100644 (file)
@@ -803,7 +803,9 @@ if ( $debug ) {
     $ENV{CATALYST_DEBUG} = 1;
 }
 
-use [% name %];
+# This is require instead of use so that the engine may be
+# changed above for Restarter support.
+require [% name %];
 
 [% name %]->run( $port, $host, {
     argv          => \@argv,