Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Is it possible to make Data::BISON work on perl >= 5.10

by Corion (Patriarch)
on Dec 23, 2012 at 10:52 UTC ( [id://1010089]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Is it possible to make Data::BISON work on perl >= 5.10
in thread Is it possible to make Data::BISON work on perl >= 5.10

My guess is, from looking at Data::BISON::Base, as the error message says, that the following piece in the custom method creator is to blame:

... { local @ISA = @{ $caller . '::ISA' }; $self->SUPER::__parse_args( $args ); } ...

Most likely because the author didn't bother to clean up @ISA properly.

But then, looking at the whole code, I wouldn't touch it because I don't understand why the author chose to do all method creation in a import subroutine instead of plainly declaring the methods outside and then using glob assignments to export them. Maybe you want to get in contact with the author to ask about the motivation and intent.

Replies are listed 'Best First'.
Re^4: Is it possible to make Data::BISON work on perl >= 5.10
by Anonymous Monk on Dec 26, 2012 at 00:51 UTC
    I did manage to fix it by replacing the @ISA mess with
    __PACKAGE__->__parse_args($self, $args);
    I added a patch to the ticket, but I doubt the author will even look at it. He hasn't uploaded anything to CPAN in 2 years and has been ignoring all bug reports for his other modules for as long.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1010089]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-19 19:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found