Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Don't ask to ask, just ask
 
PerlMonks  

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2014-04-18 10:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (466 votes), past polls