<?xml version="1.0" encoding="windows-1252"?>
<node id="996089" title="Re^3: Math::BigInt new" created="2012-09-27 19:12:43" updated="2012-09-27 19:12:43">
<type id="11">
note</type>
<author id="879250">
remiah</author>
<data>
<field name="doctext">
&lt;p&gt;
I also think this is strange. There is no checking for ref($class). I guess something like ...
&lt;code&gt;
    if ( ref($class) ){
        my $t = $wanted; 
        $t =~ s/^[+-]//;

        return bless {
            sign =&gt; $class-&gt;{sign},
            value =&gt; $CALC-&gt;_new($t),
        }, ref($class);
    }

&lt;/code&gt;
should be in new constructor, doesn't it?
&lt;/p&gt;</field>
<field name="root_node">
996030</field>
<field name="parent_node">
996036</field>
</data>
</node>
