http://www.perlmonks.org?node_id=524625


in reply to Re^3: OO in Perl 5: still inadequate
in thread OO in Perl 5: still inadequate

All that's required is an inside-out class builder that keys off something like the refaddr of the object and doesn't really care what kind of blessed refs. I'm pretty sure such builders exist, although I can't name one...

You can do this with Class::MakeMethods. (Cf. Class::MakeMethods::Template::InsideOut.)