Fix base class deprecation
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Base.pm
index 6ef8fd3..63b9ba6 100644 (file)
@@ -1,13 +1,14 @@
 package Catalyst::Base;
 use Moose;
 BEGIN { extends 'Catalyst::Controller' }
-no Moose;
 
 after 'BUILD' => sub {
     my $self = shift;
     warn(ref($self) . " is using the deprecated Catalyst::Base, update your application as this will be removed in the next major release");
 };
 
+no Moose;
+
 1;
 
 __END__