Subject: | wish: a plugin system |
A plugin system should be added to the Mech.
This decentralizes the maintenance work, while allowing users to only pull together the pieces of functionality that they want and need. This system has worked well for CGI::Application.
One such implementation based on Module::Pluggable already exists:
http://search.cpan.org/~mcmahon/WWW-Mechanize-Pluggable-0.05/lib/WWW/Mechanize/Pluggable.pm
I think the Class::Trigger style of plugins also has a lot of merit is the basic design that CGI::App that uses. You can read some detailed features of that here:
http://use.perl.org/~markjugg/journal/26143
As you can see in that post, I'd like to enhance Class::Trigger based on CGI::App's design and release the result as something that more OO systems could use for plugins.
Mark