X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass.pm;h=c97728838e7cf676ef152d73a816b3dbbd4ab604;hb=237455da90aaf390eece4cce1327baaedb20db4b;hp=1639428a294b06271dcbf40c9b9ad46f3043c584;hpb=0547bab13aa1008c751cbb7f72a3743ceed9a5c2;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/lib/DBIx/Class.pm b/lib/DBIx/Class.pm index 1639428..c977288 100644 --- a/lib/DBIx/Class.pm +++ b/lib/DBIx/Class.pm @@ -16,18 +16,18 @@ sub component_base_class { 'DBIx::Class' } $VERSION = '0.07999_01'; sub MODIFY_CODE_ATTRIBUTES { - my ($class,$code,@attrs) = @_; - $class->mk_classdata('__attr_cache' => {}) - unless $class->can('__attr_cache'); - $class->__attr_cache->{$code} = [@attrs]; - return (); + my ($class,$code,@attrs) = @_; + $class->mk_classdata('__attr_cache' => {}) + unless $class->can('__attr_cache'); + $class->__attr_cache->{$code} = [@attrs]; + return (); } sub _attr_cache { - my $self = shift; - my $cache = $self->can('__attr_cache') ? $self->__attr_cache : {}; - my $rest = eval { $self->next::method }; - return $@ ? $cache : { %$cache, %$rest }; + my $self = shift; + my $cache = $self->can('__attr_cache') ? $self->__attr_cache : {}; + my $rest = eval { $self->next::method }; + return $@ ? $cache : { %$cache, %$rest }; } 1; @@ -180,6 +180,8 @@ andyg: Andy Grundman ank: Andres Kievsky +ash: Ash Berlin + blblack: Brandon L. Black bluefeet: Aran Deltac @@ -236,6 +238,8 @@ typester: Daisuke Murase wdh: Will Hawes +willert: Sebastian Willert + zamolxes: Bogdan Lucaciu =head1 LICENSE