Re: Coercion of Maybe[Foo] not using coerce rules for Foo?

2009-07-10 Thread Paul Fenwick
G'day Stevan / Moosers, Stevan Little wrote: You cannot attached coercions to parameterized types directly. Try this .. class_type 'DateTime'; # alias the Maybe[DateTime] type ... subtype 'MightBeADateTimeObjectOrMightNot' as 'Maybe[DateTime]'; Thank-you very much! That works

Re: Broken Moose Install

2009-07-10 Thread Tomas Doran
fREW Schmidt wrote: Hey guys, I updated everything that I could in CPAN and somehow it destroyed my moose install. This is what happens when I try to run my Cat app: Use of uninitialized value in goto at /usr/local/share/perl/5.10.0/Moose/Meta/Attribute.pm line 74. Could not create the

AttributeHelpers - Trait::Native

2009-07-10 Thread Hans Dieter Pearcey
doy++ did a bunch of cleanup in the attribute_helpers branch, and I followed after. So far: Moose::AttributeHelpers::Trait::X became Moose::Meta::Attribute::Trait::Native::X. Bag is gone. Moose::AttributeHelpers became Moose::Attribute::Native -- all this module does is install the

Re: AttributeHelpers - Trait::Native

2009-07-10 Thread Stevan Little
Awesome work guys, but I hate the name, ... Native?!?! wtf? ;) On Jul 10, 2009, at 6:28 PM, Hans Dieter Pearcey wrote: doy++ did a bunch of cleanup in the attribute_helpers branch, and I followed after. So far: Moose::AttributeHelpers::Trait::X became