X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FCore.pm;h=455e74113bc262850e8b8369b4da18148b49dfbd;hb=6d701f86fb5c2681cf99ff64cc6c42000376b675;hp=14b53675e957ac372405d6f619b4ce967b570e17;hpb=510ca9120ab2fea50a0852ee4ed6a13735ed7ebc;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/Core.pm b/lib/DBIx/Class/Core.pm index 14b5367..455e741 100644 --- a/lib/DBIx/Class/Core.pm +++ b/lib/DBIx/Class/Core.pm @@ -2,11 +2,63 @@ package DBIx::Class::Core; use strict; use warnings; +no warnings 'qw'; -use base qw/DBIx::Class::PK - DBIx::Class::Table - DBIx::Class::SQL - DBIx::Class::DB - DBIx::Class::AccessorGroup/; +use base qw/DBIx::Class/; + +__PACKAGE__->load_components(qw/ + Serialize::Storable + InflateColumn + Relationship + PK + Row + ResultSourceProxy::Table + AccessorGroup/); 1; + +=head1 NAME + +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 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 + +=back + +If you are also using a L component, please +make sure you load it correctly. Refer to +L for more information. + +=head1 AUTHORS + +Matt S. Trout + +=head1 LICENSE + +You may distribute this code under the same terms as Perl itself. + +=cut