Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^3: Math::BigInt new

by remiah (Hermit)
on Sep 27, 2012 at 23:12 UTC ( #996089=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Math::BigInt new
in thread Math::BigInt new

I also think this is strange. There is no checking for ref($class). I guess something like ...

if ( ref($class) ){ my $t = $wanted; $t =~ s/^[+-]//; return bless { sign => $class->{sign}, value => $CALC->_new($t), }, ref($class); }
should be in new constructor, doesn't it?

Comment on Re^3: Math::BigInt new
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (9)
As of 2015-11-26 13:47 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (701 votes), past polls