From: Andy Grundman Date: Wed, 30 Nov 2005 21:07:11 +0000 (+0000) Subject: Fixed restarter by backing out Class::C3 fix X-Git-Tag: 5.7099_04~810 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=6fe8a91dc4150735ae08c53039581d8f31d50656 Fixed restarter by backing out Class::C3 fix --- diff --git a/Changes b/Changes index dfe4496..77d7709 100644 --- 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/)) diff --git a/lib/Catalyst/Helper.pm b/lib/Catalyst/Helper.pm index 014fc5f..81ddc02 100644 --- a/lib/Catalyst/Helper.pm +++ b/lib/Catalyst/Helper.pm @@ -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,