Re: Moose::Cookbook::Meta::Recipe3 - Labels implemented via attribute traits

2010-04-28 Thread Jesse Luehrs
On Wed, Apr 28, 2010 at 12:59:21PM +0100, Zbigniew Lukasiak wrote: Hi there, The recipe in http://search.cpan.org/~flora/Moose-1.01/lib/Moose/Cookbook/Meta/Recipe3.pod uses an additional package in the Moose namespace: package Moose::Meta::Attribute::Custom::Trait::Labeled; sub

Where to define a method required by an attribute trait?

2010-04-28 Thread Jens Berthold
Hi all, Please note: this problem has also been posted on PerlMonks.org: http://perlmonks.org/index.pl?node_id=837339 I am working with Moose for quite some weeks now and enjoy it very much, though the principles keep my head aching ;-) Now I have a problem concerning traits: When defining a

Re: request to review potential new MooseX::Role (was: Re: Moose idiom for plugins)

2010-04-28 Thread Chris Prather
On Wed, Apr 28, 2010 at 6:43 AM, John SJ Anderson geneh...@gmail.com wrote: On Apr 8, 2010, at 05:46 , Dan Horne wrote: I have a question regarding the best method for implementing application plugins - i.e. if there is an idiomatic way to do this in Moose. Here's a high level description of