On Sep 9, 2008, at 01:20, Michael G Schwern wrote:
I looked at just copying in Mouse, but Mouse has dependencies which themselves have dependencies, some of them with XS. Ideally, what I want is Mouse::Tiny, or as I like to put it, "Muscle". [2] A stand-alone, single file, no non-core dependencies, 5.6 compatible implementation of 80% of Moose. That way I can just copy it into the Test::Builder2 distribution and have a real OO system.
It's not a MOP implementation, but for something dead simple, see Object::Tiny.
Or see Class::Meta, which depends only on Class::ISA and Data::Types. The latter can be omitted if you don't need data validation.
Best, David