# 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.07001';
+$VERSION = '0.07003';
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;
dwc: Daniel Westermann-Clark <danieltwc@cpan.org>
-dyfrgi: Michael Leuchtenmurg <michael@slashhome.org>
+dyfrgi: Michael Leuchtenburg <michael@slashhome.org>
gphat: Cory G Watson <gphat@cpan.org>
wdh: Will Hawes
+willert: Sebastian Willert <willert@cpan.org>
+
zamolxes: Bogdan Lucaciu <bogdan@wiz.ro>
=head1 LICENSE