package Catalyst::Component;
use strict;
-use base qw/Class::Data::Inheritable/;
+use base qw/Class::Accessor::Fast Class::Data::Inheritable/;
use NEXT;
__PACKAGE__->mk_classdata($_) for qw/_config/;
# lib/MyApp/Model/Something.pm
package MyApp::Model::Something;
- use base 'Catalyst::Base';
+ use base 'Catalyst::Component';
__PACKAGE__->config( foo => 'bar' );
=head1 SEE ALSO
-L<Catalyst>.
+L<Catalyst>, L<Catalyst::Model>, L<Catalyst::View>, L<Catalyst::Controller>.
=head1 AUTHOR