develooper Front page | perl.perl5.porters | Postings from July 2015

Re: Views on changing Math-BigInt OO design

Thread Previous | Thread Next
John Peacock
July 29, 2015 02:05
Re: Views on changing Math-BigInt OO design
Message ID:
On 07/28/2015 09:28 AM, Peter John Acklam wrote:
> Abigail, thanks for pointing out the implicit loading. I hadn't though
> of that, although hopefully I would have discovered it while testing.
> Here is my current idea
> - introduce Math::BigNum
> - let Math::Big(Int|Float|Rat) each be a subclass of Math::BigNum
> - for backwards compatibility, let Math::BigFloat load Math::BigInt, and
> let Math::BigRat load Math::BigFloat

Have you audited CPAN to see what modules are already subclassing M::BF, 
like my own Math::Currency?  I would be interested in getting a 
pre-release package, which may finally induce me to fix the locale tests 
that have been failing for a very long time.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About