[Catalyst] External plugins
Brandon Black
blblack at gmail.com
Tue Feb 14 23:07:08 CET 2006
On 2/14/06, Ovid <publiustemp-catalyst at yahoo.com> wrote:
> In fact, unless I'm greatly mistaken (which has happened before), it
> seems like the entire fix (minus docs and tests) is to change this line
> in setup_plugins():
>
> $plugin = "Catalyst::Plugin::$plugin";
>
> To this:
>
> unless ( $plugin =~ s/\A\+// ) {
> $plugin = "Catalyst::Plugin::$plugin";
> }
>
> This breaks no tests.
>
I wouldn't mind something along these lines as well, as I have a few
application-specific "plugins" currently in
MyApp/lib/Catalyst/Plugin/... dirs, that would organizationally
probably be better off under another namespace.
-- Brandon
More information about the Catalyst
mailing list