[Catalyst] Caching problem?

Matt S Trout dbix-class at trout.me.uk
Fri Jan 13 19:02:31 CET 2006


On Fri, Jan 13, 2006 at 11:19:52AM -0600, Brandon Black wrote:
> On 1/13/06, Matt S Trout <dbix-class at trout.me.uk> wrote:
> > Right, that's the lines I was thinking along - does anybody fancy doing up
> > a patch for this? It's not likely to get to the top of my to-do list amazingly
> > soon, I'm afraid.
> >
> 
> I could take a stab at it.  I'm assuming the general idea should be an
> optional new C::P::Base class which creates the plugin_for accessor
> for those that want to inherit and use it, and then mod the plugin
> loader code to look for it when loading plugins.

Shouldn't even need that - you can check the existence of plugin_for using
->can then it'd just be a matter (for your example) of adding

sub plugin_for { 'Response' }

-- 
     Matt S Trout       Offering custom development, consultancy and support
  Technical Director    contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

 + Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +



More information about the Catalyst mailing list