Home  |  Linux  | Mysql  | PHP  | XML
From:Alexis Sukrieh Date:Sun Sep 28 14:50:05 2008
Subject:Re: Moose -> Mouse -> Mouse::Tiny/Muscle
Hello,

> On Tue, Sep 9, 2008 at 9:30 PM, Michael G Schwern <schwern@pobox.com> 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
Navigate in group perl.moose at sever nntp.perl.org
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants