in reply to Re: Generic object in inside-out classes
in thread Generic object in inside-out classes

Scalar::Util could provide an id() function (say) with the variant behavior implemented in XS. That would reduce the overhead to nil.

Alternatively, perl 5.10 will have Hash::Util::FieldHash to support inside-out classes. A class based on that will allow generic objects.

Anno