X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FResultSource%2FTable.pm;h=b6add2ae028556384c898a4819d5656396ef05bf;hb=e50536940adf2ebaef907a0c29ae37fbd5ce95b1;hp=41b54329b202cefe72c1a85e469b1fa87ac3f27e;hpb=1e10a11d9a973db300c5d94b914bc270c0fa6fb8;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/ResultSource/Table.pm b/lib/DBIx/Class/ResultSource/Table.pm index 41b5432..b6add2a 100644 --- a/lib/DBIx/Class/ResultSource/Table.pm +++ b/lib/DBIx/Class/ResultSource/Table.pm @@ -5,20 +5,18 @@ use warnings; use DBIx::Class::ResultSet; -use Carp qw/croak/; - use base qw/DBIx::Class/; __PACKAGE__->load_components(qw/ResultSource/); -=head1 NAME +=head1 NAME -DBIx::Class::Table - Table object +DBIx::Class::ResultSource::Table - Table object =head1 SYNOPSIS =head1 DESCRIPTION -Table object that inherits from L +Table object that inherits from L. =head1 METHODS @@ -28,17 +26,19 @@ Returns the FROM entry for the table (i.e. the table name) =cut -sub from { shift->name; } - -1; +sub from { $_[0]->name } -=head1 AUTHORS +=head1 FURTHER QUESTIONS? -Matt S. Trout +Check the list of L. -=head1 LICENSE +=head1 COPYRIGHT AND LICENSE -You may distribute this code under the same terms as Perl itself. +This module is free software L +by the L. You can +redistribute it and/or modify it under the same terms as the +L. =cut +1;