It's already there... ;-)How about making your module more flexible and in addition to the overriden bless function provide a new_fixup methods, so one can choose to run new_fixup on already "blessed"/sv_setref_pv'ed object to store a weak copy of it? this can be called from the normal new().
Thread::Bless 0.03 is now on its way to CPAN, and also available from:
http://www.liz.nl/CPAN/Thread-Bless-0.03.tar.gz
This version has a "register" class method for registering objects that have been blessed bypassing the "bless" system function.
Thread::Bless->register( @object );
It's there again... ;-)
Liz
