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