Re: [Catalyst] Actions as Moose::Role

2008-06-18 Thread Guillermo Roditi
> Well - I was not sure about that - but with "use base > 'Catalyst::Controller';" I get: > > Could not load class (Base) because : Can't locate object method > "linearized_isa" via package "Moose::Meta::Role" at > > /home/zby/progs/Catalyst-Runtime/5.80/branches/moose/lib/Catalyst/ClassData.pm > l

Re: [Catalyst] Actions as Moose::Role

2008-06-16 Thread Zbigniew Lukasiak
On Mon, Jun 16, 2008 at 9:52 PM, J. Shirley <[EMAIL PROTECTED]> wrote: > On Mon, Jun 16, 2008 at 10:16 AM, Zbigniew Lukasiak <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I wanted to start preparing for Catamoose and thought about extracting >> some Controller code as Moose::Roles - but unfortunately Cat

Re: [Catalyst] Actions as Moose::Role

2008-06-16 Thread J. Shirley
On Mon, Jun 16, 2008 at 10:16 AM, Zbigniew Lukasiak <[EMAIL PROTECTED]> wrote: > Hi, > > I wanted to start preparing for Catamoose and thought about extracting > some Controller code as Moose::Roles - but unfortunately Catalyst > attributes don't compile normally: > > Invalid CODE attributes: Captu

[Catalyst] Actions as Moose::Role

2008-06-16 Thread Zbigniew Lukasiak
Hi, I wanted to start preparing for Catamoose and thought about extracting some Controller code as Moose::Roles - but unfortunately Catalyst attributes don't compile normally: Invalid CODE attributes: CaptureArgs(1) : Chained('/') at t/lib/Base.pm line 7 In a simple class: package Base; use str