Re: Moose -> Mouse -> Mouse::Tiny/Muscle

[email protected] (Michael G Schwern)
Newsgroups perl.moose
Message-ID <[email protected]>
David E. Wheeler wrote:
> 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.

What Object::Tiny glosses over in all it's self-congratulatory, back-patting
advertising^Wdocumentation is that it produces read-only objects.  It's
breathtakingly limited.  All it buys you is some read-only accessors,
whoopty-do, I can write that myself.


> 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.

I'll have a look, but on first glance it appears to be missing roles, which I
want to play with.


-- 
Just call me 'Moron Sugar'.
	http://www.somethingpositive.net/sp05182002.shtml
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.