Skip Menu |

This queue is for tickets about the Data-BISON CPAN distribution.

Report information
The Basics
Id: 82178
Status: new
Priority: 0/
Queue: Data-BISON

People
Owner: Nobody in particular
Requestors: pagenyon [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Tests fail on modern perls due to recursive inheritance
As can be seen from the CPAN Tester reports, the tests fail with the following error for any perl >= 5.10. Recursive inheritance detected in package 'Data::BISON::Base' at ... lib/Data/BISON/Base.pm line 111.
From: pagenyon [...] gmail.com
The following makes the test cases pass. The pod test also fails due to encoding issues, but the simplest solution to that is to avoid running author tests for normal cpan users. diff --git a/lib/Data/BISON/Base.pm b/lib/Data/BISON/Base.pm index 1608817..3d3905d 100644 --- a/lib/Data/BISON/Base.pm +++ b/lib/Data/BISON/Base.pm @@ -106,10 +106,7 @@ sub import { my $self = shift; my $args = shift; - { - local @ISA = @{ $caller . '::ISA' }; - $self->SUPER::__parse_args( $args ); - } + __PACKAGE__->__parse_args($self, $args); while ( my ( $attr, $spec ) = each %$attr_spec ) { my @value;