[Catalyst] context in ::V::TT::new()

Sebastian Riedel sri at oook.de
Tue Jul 19 17:30:53 CEST 2005

Am 19.07.2005 um 15:31 schrieb luke saunders:

> Somewhat off topic: It seems to me that it might be useful to have
> some sort of context like object available at app start. Currently the
> only place to store objects at that level is in MyApp->Config though
> that seems unclean to me as objects stored may not be config related.
> Another reason for some sort of app level object is to have access to
> some debug methods (like $c->log->debug) before a request is made.
> One of the next things on my list is to look into Catalyst plugins and
> what they are capable of, so it maybe that I could achieve what I want
> by writing one of those.
> Would be interested to hear your thoughts.

Just add class data to you app class.


The new pod on writing plugins should make it a bit more clear.

More information about the Catalyst mailing list