Remember: it's the referant, not the reference that's blessed - so taking a reference to $obj_var_a can give you an object that overloads ==. Consider:
my $obj_var_a = 42; my $o = bless \$obj_var_a, 'OverloadedClass'; my $ref = \$obj_var_a; print "overloaded" if $ref->isa('OverloadedClass');
Don't you just love exceptions like this :-)
In reply to Re^6: my least favorite perl feature
by adrianh
in thread my least favorite perl feature
by waxmop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |