[Catalyst-dev] Feature request: post_setup.

Oleg Pronin syber.rus at gmail.com
Tue Dec 25 13:38:35 GMT 2007


Thanks a lot!

2007/12/25, Matt S Trout <dbix-class at trout.me.uk>:
>
> On Tue, Dec 25, 2007 at 12:12:15PM +0300, Oleg Pronin wrote:
> > I used this technique before. I thought it was a some kinda hack. There
> is a
> > bug using setup_finished for 'post_setup' purpose.
> >
> > We use company-wide framework based on catalyst and MyApp inherits from
> some
> > Company::Catalyst and the 'post_setup' logic implemented there in
> > 'setup_finished'.
> >
> > but setup_finished is an Class::Data::Inheritable accessor. C::D::I
> > dynamically creates setup_finished subroutine in MyApp on first call
> > (without '1' parameter) and Company::Catalyst's setup_finished will
> never be
> > called after.
>
> Ah. Arse.
>
> Ok, we'll clean that up for the app/ctx split version. Keep an eye out and
> it we start putting 5.80 dev releases out without it come yell at me.
>
> --
>       Matt S Trout       Need help with your Catalyst or DBIx::Class
> project?
>    Technical Director
> http://www.shadowcat.co.uk/catalyst/
> Shadowcat Systems Ltd.  Want a managed development or deployment platform?
> http://chainsawblues.vox.com/
> http://www.shadowcat.co.uk/servers/
>
> _______________________________________________
> Catalyst-dev mailing list
> Catalyst-dev at lists.scsys.co.uk
> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst-dev/attachments/20071225/e=
ec1b37d/attachment.htm


More information about the Catalyst-dev mailing list