On Wed, Mar 10, 2010 at 8:11 PM, Stevan Little
<[email protected]> wrote:
>
>  package My::Catalyst::Controller;
>  use Moose;
>  BEGIN { extends 'Catalyst::Controller' }
>
> Because Catalyst::Controller must capture the attributes in your file at
> compile time, and if 'extends' is not called at BEGIN time then it is too
> late to capture the attributes.

Hrm, just a passing thought here.  Has anyone looked BeginLift-ing the
extends sub?  Not sure what implications it would have, or how
feasible, but it may permit avoiding hacks like the above...

Mark.

Reply via email to