On Sun, 8 Dec 2013, Yanick Champoux wrote:
Why can't this be a plugin, by the way?
I'll make the tactical mistake of jumping into this thread before my first coffee, and say that I agree with Sawyer: I think that those modules could very well find their home in the ::Plugin namespace.
OK. The namespace Dancer::Plugin::App sounds good.
Typically, plugins do add keywords, but they don't have to: they can also extend the functionality of the application itself.
Typically, load_app's do not add keywords. That's why the Subject is "Namespace for load_app modules".
Henk, do you already have some of your code on GitHub? If it is, it would probably be easier to use one of them as an example of that I mean.
On github I have Amsterdam.pm https://github.com/hvoers/PNL/blob/master/lib/Amsterdam.pm But I do not want to claim the Amsterdam namespace on CPAN. Dancer::Plugin::App::Amsterdam will do just fine. I'll make a Dancer::Plugin::App::AmsterdamX.pm to make things clear. Yes, that's Sawyer's namespace. See http://amsterdamx.pm/
Joy, `/anick
-- Henk