Commit a failing test for components getting config from self. This is a showstopper...
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Model.pm
index 356745e..f573770 100644 (file)
@@ -1,7 +1,9 @@
 package Catalyst::Model;
 
-use strict;
-use base qw/Catalyst::Component/;
+use Moose;
+extends qw/Catalyst::Component/;
+
+no Moose;
 
 =head1 NAME
 
@@ -31,4 +33,6 @@ the same terms as Perl itself.
 
 =cut
 
+__PACKAGE__->meta->make_immutable;
+
 1;