start using Class::C3, may need to add a reinitalize bit later, not sure
[catagits/Catalyst-Runtime.git] / lib / Catalyst / AttrContainer.pm
index 35741e4..39befd4 100644 (file)
@@ -1,10 +1,11 @@
 package Catalyst::AttrContainer;
 
-use strict;
-use base qw/Class::Data::Inheritable Class::Accessor::Fast/;
-
+use Moose;
 use Catalyst::Exception;
-use NEXT;
+
+with 'Catalyst::ClassData';
+
+no Moose;
 
 __PACKAGE__->mk_classdata($_) for qw/_attr_cache _action_cache/;
 __PACKAGE__->_attr_cache( {} );
@@ -29,18 +30,22 @@ Catalyst::AttrContainer
 
 =head1 DESCRIPTION
 
+This class sets up the code attribute cache.  It's a base class for 
+L<Catalyst::Controller>.
+
 =head1 METHODS
 
-=over 4
+=head2 FETCH_CODE_ATTRIBUTES
 
-=item FETCH_CODE_ATTRIBUTES
+Attribute function. See attributes(3pm)
 
-=item MODIFY_CODE_ATTRIBUTES
+=head2 MODIFY_CODE_ATTRIBUTES
 
-=back
+Attribute function. See attributes(3pm)
 
 =head1 SEE ALSO
 
+L<Catalyst::Dispatcher>
 L<Catalyst>.
 
 =head1 AUTHOR