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

[email protected] (Alexis Sukrieh)
Newsgroups perl.moose
Message-ID <[email protected]>
Hello,

> On Tue, Sep 9, 2008 at 9:30 PM, Michael G Schwern <[email protected]> wrote:
>> Sartak wrote:
>>>> [...]  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.
>>> I'd love to see Mouse itself go this way. There's little point in
>>> having a lightweight Moose that has a number of dependencies
>>> (especially XS). It looks like we could make all the dependencies
>>> optional, and only required if you use the features.

May I ask why you didn't take a look at Coat?

http://search.cpan.org/~sukria/Coat-0.333/lib/Coat.pm

It's exactly what you're looking for, if I understand you well. I fear 
we're going to do duplicate work here :-/

Coat already supports Moose's attributes declarations, class extends 
facilities, after/before/around modifier, type-constraints facilities 
(inclunding subtyping and parametrized constraint, and is 100% Perl 5 
native.

It looks like you're restarting the work I did when I wrote Coat.

Regards,

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