[Catalyst-dev] Feature request: post_setup.
Matt S Trout
dbix-class at trout.me.uk
Tue Dec 25 11:32:42 GMT 2007
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/
More information about the Catalyst-dev
mailing list