From: Florian Ragwitz Date: Sun, 8 Feb 2009 14:01:18 +0000 (+0000) Subject: Don't unimport moose keywords in the middle of a modifier. X-Git-Tag: 5.80001~124 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=b9f430195b7caa331adfe1000a49782c25fabaa2 Don't unimport moose keywords in the middle of a modifier. --- diff --git a/lib/Catalyst/Engine/HTTP/Restarter.pm b/lib/Catalyst/Engine/HTTP/Restarter.pm index 0cae243..c20943a 100644 --- a/lib/Catalyst/Engine/HTTP/Restarter.pm +++ b/lib/Catalyst/Engine/HTTP/Restarter.pm @@ -68,9 +68,10 @@ around run => sub { } return $self->$orig( $class, $port, $host, $options ); - no Moose; }; +no Moose; + 1; __END__