Dancer::RPCPlugin::PluginNames - Register Dancer::Plugin::RPC plugin-names
use Dancer::RPCPlugin::PluginNames;
my $pt = Dancer::RPCPlugin::PluginNames->new();
say "Plugin: $_" for $pt->names;
if ($my_name =~ $pt->regex) {
say "$my_name is a registered plugin-name";
}
Returns a singleton-object of this class.
Arguments
List of names or none.
Adds the names given to the singleton-object and returns that.
Returns a list of registered plugin-names ordered by:
- 1. length of the name
- 2. ASCII-betical
Returns a "Regexp" object with all the names
as alternatives.
(c) MMXVII - Abe Timmerman <abetim@cpan.org>