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 };
+
+ return {
+ %$cache,
+ %{ $self->maybe::next::method || {} },
+ };
}
1;
aherzog: Adam Herzog <adam@herzogdesigns.com>
+amiri: Amiri Barksdale <amiri@metalabel.com>
+
amoore: Andrew Moore <amoore@cpan.org>
andyg: Andy Grundman <andy@hybridized.org>
Tom Hukins
+tonvoon: Ton Voon <tonvoon@cpan.org>
+
triode: Pete Gamache <gamache@cpan.org>
typester: Daisuke Murase <typester@cpan.org>