note
borisz
<blockquote><small><em>
sub new { bless \pop, shift }
it's like doing
sub new { bless \42, "MyNumber" }
and you can't bless a constant into an object. so do my $arg = pop; bless \$arg, shift
</em></small></blockquote>
I do not think this is wrong, since \pop is like \pop @_ and whatever I pop it is pushed and a pushed constant is a scalar.
<div class="pmsig">
<div class="pmsig-224409">
Boris
</div></div>
332883
332891