[Catalyst] [RFC] Loading Plugins from lib/MyApp/Plugins

Bogdan Lucaciu bogdan at wiz.ro
Tue Dec 18 08:53:19 GMT 2007


On Tuesday 18 December 2007 04:39:36 Christopher Laco wrote:
> I know I've been down this thread before. When writing a framework that
> generates customized Catalyst apps, it would be a whole lot easier
> (well, more proper) to add plugins in lib/MyApp/Plugins, just like we do
> with controllers/models/view, than it is to molest the MyApp.pm 'use
> Catalyst' line to include custom plugins.
>
> I'm assuming that it's just a matter of tweaking the Module::Pluggable
> search paths at the appropriate time when Cat is starting up.
>
> Is this a planned feature for 5.8? Could it be?
> Yes, I'll volunteer to put some tuits on it if need be.

I would rather have this in the config.
Even some Views/Models can be just in the config, as the files on disk are 
sometimes mostly empty.

-- 
Bogdan Lucaciu
http://www.wiz.ro



More information about the Catalyst mailing list