NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Already exists? (Score:1)
There is a MooseX::Object::Pluggable [cpan.org] on CPAN which the synopsis suggests does almost exactly the same thing as your module – and as a bonus, it has a much better name. For config loading there are already MooseX::ConfigFromFile [cpan.org] and MooseX::SimpleConfig [cpan.org]. Do none of these do what you need/want?
Re: (Score:1)
and, configuration file loader is not a key feature, that is trivial
Re: (Score:1)
Re: (Score:1)
Ah, I see, OK.
You still need a better name though – even someone who knows what Plagger is would have no idea what “Plaggerize” means until you tell them. It’s pretty much as if you had called the module MooseX::FooBaz.
How about MooseX::Hookable? That seems to describe the functionality you want to offer.
Re: (Score:1)
F.ex. here is a distro that does in fact do the same thing, except without Moose: Hook::Modular [cpan.org].
mvp (Score:1)
I recently uploaded Config::INI::MVP::Reader, which I use in a few things to initialize plugins based on configuration. You might find it useful for doing some similar, simple things with Plaggerize.
Every time I see Plaggerize in the RSS feed, I think "plagarize."
rjbs