Re: Mouse and Coat

2008-09-29 Thread Alexis Sukrieh
Matt S Trout a écrit : No, the fight was because you weren't really trying to be compatible at that point, more "inspired by". False. You were clearly saying I was wrong telling a compatible-light-weight Moose was a good idea. I can remember that pretty well, I have to say. I can see now th

Re: Mouse and Coat

2008-09-29 Thread Alexis Sukrieh
Hey, For the record, I'm just remembering, I've done a page a month ago or so for listing any feature supported by Coat: http://www.sukria.net/perl/coat/features.html Regards, Alexis

Re: Mouse and Coat

2008-09-28 Thread Alexis Sukrieh
Hi, Sartak a écrit : Hi Alexis, I've been aware of Coat since you started it. (But I hadn't seen the value of a lite Moose until much later). I had even contributed two patches. :) Indeed, and I thank you for that ;) I started Mouse (originally called Neutrino) a few months ago for fun, to

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

2008-09-28 Thread Alexis Sukrieh
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

Re: Multiple coercions ?

2008-09-24 Thread Alexis Sukrieh
Charles Alderman a écrit : Perhaps if a user happens to overlook the version they're running before asking a question, it could be accepted as a newbie question in a moose-users list conversation. It's really funny how you can be flagged "newbie" at the first mistake you make. Indeed, I tot

Re: Multiple coercions ?

2008-09-24 Thread Alexis Sukrieh
Charles Alderman a écrit : This works for me: > [...] I've just ran your test-script, and I got the same error. This is an Ubuntu 8.04 system, the Moose that comes with is 0.31, maybe this is a bug of that version? Alexis.

Re: Multiple coercions ?

2008-09-24 Thread Alexis Sukrieh
Alexis Sukrieh a écrit : Find attached the test script: Hmm, sorry, looks like the attachment gets droped by the ML. Here is the pure paste: $ cat multiple_coercions.t use Test::More 'no_plan'; use strict; use warnings; sub time_to_datetime($) { my $time = shift; my (

Re: Multiple coercions ?

2008-09-24 Thread Alexis Sukrieh
Charles Alderman a écrit : Now - and that's where the issue gets in the scene - if I add another coercion for the DateTime subtype, but from another source, it won't work : Are you sure you haven't defined the coercion to "DateTime" from "Int" somewhere else? Sure. Find attached the test

Multiple coercions ?

2008-09-24 Thread Alexis Sukrieh
Hello there, I'm a bit puzzled by something I found when hacking on Coat and I'd like to have your point of view on this. Let's say we have the folloiwng types: subtype 'Date' => as 'Str' => where { /^\d\d\d\d-\d\d-\d\d$/ }; subtype 'DateTime' => as 'Str' => where

Re: Moose Role Call

2008-01-22 Thread Alexis Sukrieh
Robert Hicks wrote: Stevan Little wrote: Anyone on the list other than me and Yuval? Well, looks like I'm here too :-) Congrats for the last M00se release, it just rocks. Cheers, Alexis