On Sun, Oct 9, 2011 at 4:27 PM, Paul Bennett <paul.w.benn...@gmail.com> wrote: > Hi all, > > I know this isn't the best place to ask for help with specific coding help, > but I'm bumping up against what appears to be the edges of Perl normality > here, and I figure there's gotta be at least one person reading this who is > better-informed than me about the modules in question. > > Ideally, I'm hoping one or more of FLORA, LETO, pjacklam, or TELS is reading > this, or at least someone who can put me in direct contact with one of them. > > I'm looking for people who know about inheriting from Math::BigInt::GMP > and/or Math::BigInt::Pari to help me improve > http://matrix.cpantesters.org/?dist=Net-IPAddress-Util -- latest source is > at > http://code.google.com/p/perl-ipaddress-simple/source/browse/#svn%2Ftrunk%2Flib%2FNet%2FIPAddress > > I'm convinced I'm doing something obviously and stupidly wrong, but I can't > for the life of me see the forest for the trees. See also > https://rt.cpan.org/Public/Bug/Display.html?id=67204
I think the obvious mistake you're making is using inheritance in the first place. Why are you doing that? Your interface is not «an IP address is really a number», so why would you make it one? Leon