Skip Menu |

This queue is for tickets about the Email-Store CPAN distribution.

Report information
The Basics
Id: 6901
Status: resolved
Priority: 0/
Queue: Email-Store

People
Owner: Nobody in particular
Requestors: ittigson [...] pobox.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.11
Fixed in: (no value)



Subject: A documented way to exclude plugins
I'm excluding certain tables via: package Email::Store; use Module::Pluggable (search_path => [ "Email::Store" ], except => [ "Email::Store::List" ]); in my script which calls Email::Store->setup. This should at least be documented somewhere as a (I don't doubt that it's not the proper way) way to skip certain plugins and there probably should be some interface to Email::Store->setup which will support options analogous to the "only" and "except" options for Module::Pluggable. Thanks.
This is nothing to do with Email::Store, but something to do with Module::Pluggable, one of the few CPAN modules I did not write. Therefore a bug report is not appropriate against Email::Store. However, the author of Module::Pluggable has sent me patches to allow Module::Pluggable:: Ordered to select and exclude certain plugin modules. Thankfully, the Email::Store documentation already references the Module::Pluggable:: Ordered documentation, so when this patch is applied, no changes will be required to Email:: Store.