X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FCore.pm;h=96a6a9afd9cd2ff20c21bd47e30458d372028b77;hb=c235bbaeb17b06ba392506f1de1130d902826cd3;hp=a3fb44e45c7a93094668b4aac7df4a0320c10350;hpb=b28cc0ba2d1d443728c9cb48d97e5a2cdccf8cb4;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/Core.pm b/lib/DBIx/Class/Core.pm index a3fb44e..96a6a9a 100644 --- a/lib/DBIx/Class/Core.pm +++ b/lib/DBIx/Class/Core.pm @@ -2,40 +2,61 @@ package DBIx::Class::Core; use strict; use warnings; +no warnings 'qw'; -use base qw/DBIx::Class::Relationship::Accessor - DBIx::Class::Relationship::CascadeActions - DBIx::Class::Relationship::ProxyMethods - DBIx::Class::Relationship - DBIx::Class::InflateColumn - DBIx::Class::SQL::OrderBy - DBIx::Class::SQL::Abstract - DBIx::Class::PK - DBIx::Class::Table - DBIx::Class::SQL - DBIx::Class::DB - DBIx::Class::Exception - DBIx::Class::AccessorGroup/; +use base qw/DBIx::Class/; + +__PACKAGE__->load_components(qw/ + Serialize::Storable + InflateColumn + Relationship + PK + Row + ResultSourceProxy::Table + AccessorGroup/); 1; -=head1 NAME +=head1 NAME + +DBIx::Class::Core - Core set of DBIx::Class modules -DBIx::Class::Core - Core set of DBIx::Class modules. +=head1 SYNOPSIS + + # In your table classes + __PACKAGE__->load_components(qw/Core/); =head1 DESCRIPTION -This class just inherits from the various modules that makes -up the Class::DBI core features. +This class just inherits from the various modules that make up the +L core features. You almost certainly want these. + +The core modules currently are: + +=over 4 + +=item L + +=item L +=item L + +=item L + +=item L + +=item L + +=item L + +=back =head1 AUTHORS -Matt S. Trout +Matt S. Trout =head1 LICENSE You may distribute this code under the same terms as Perl itself. =cut -