X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass.pm;h=6bedd0623c89129b45c5592c68e00b7e0f715266;hb=ca4b5ab70c1f6979600c72a7a3ef4f74f5f28f5f;hp=5f1971482a0a03bbdca7912cc2a72333444b7a33;hpb=5fb0c64cf8684221613bb7f0003a0510df26771e;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/lib/DBIx/Class.pm b/lib/DBIx/Class.pm index 5f19714..6bedd06 100644 --- a/lib/DBIx/Class.pm +++ b/lib/DBIx/Class.pm @@ -13,7 +13,18 @@ sub component_base_class { 'DBIx::Class' } # i.e. first release of 0.XX *must* be 0.XX000. This avoids fBSD ports # brain damage and presumably various other packaging systems too -$VERSION = '0.04999_04'; +$VERSION = '0.05002'; + +sub MODIFY_CODE_ATTRIBUTES { + my ($class,$code,@attrs) = @_; + unless ($class->can('_attr_cache')) { + $class->mk_classdata('_attr_cache'); + $class->_attr_cache({}); + } + my $cache = $class->_attr_cache; + $class->_attr_cache->{$code} = [@attrs]; + return (); +} 1; @@ -83,23 +94,27 @@ manual below. =head1 SEE ALSO -=head2 L - DBIC Core Classes +=over 4 -=head2 L - User's manual +=item L - DBIC Core Classes -=head2 L - L Compat layer +=item L - User's manual -=head2 L - database-level methods +=item L - L Compat layer -=head2 L - table-level methods +=item L -=head2 L - row-level methods +=item L -=head2 L - primary key methods +=item L -=head2 L - search result-set methods +=item L - row-level methods -=head2 L - relationships between tables +=item L - primary key methods + +=item L - relationships between tables + +=back =head1 AUTHOR @@ -135,6 +150,16 @@ Todd Lipcon Daniel Westermann-Clark +Alexander Hartmaier + +Zbigniew Lukasiak + +Nigel Metheringham + +Jesper Krogh + +Brandon Black + =head1 LICENSE You may distribute this code under the same terms as Perl itself.