Re: Notes about MooseX::Role::Parameterized

2010-04-22 Thread Karen Etheridge
On Thu, Apr 22, 2010 at 02:54:07PM -0700, Kate Yoak wrote: Just a couple of notes that would be of use if they were in the documentation: 1. The bad news: Because of the weirdness of role{} block, the child, nor the role cannot be declared within the same file with the script. (Like

Re: Notes about MooseX::Role::Parameterized

2010-04-22 Thread Karen Etheridge
On Thu, Apr 22, 2010 at 03:25:41PM -0700, Kate Yoak wrote: Another issue: Can parameter use builder and have it defined within the same module? I've tried parameter foo = (is = 'rw', builder = '_foo'); with _foo() defined above this statement, below it, inside the role block