Don't unimport moose keywords in the middle of a modifier.
Florian Ragwitz [Sun, 8 Feb 2009 14:01:18 +0000 (14:01 +0000)]
lib/Catalyst/Engine/HTTP/Restarter.pm

index 0cae243..c20943a 100644 (file)
@@ -68,9 +68,10 @@ around run => sub {
     }
 
     return $self->$orig( $class, $port, $host, $options );
-    no Moose;
 };
 
+no Moose;
+
 1;
 __END__