Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Dancer::RPCPlugin::PluUseraContributed Perl DDancer::RPCPlugin::PluginNames(3)

NAME
       Dancer::RPCPlugin::PluginNames -	Register Dancer::Plugin::RPC
       plugin-names

SYNOPSIS
	   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";
	   }

DESCRIPTION
   Dancer::RPCPlugin::PluginNames->new(@names)
       Returns a singleton-object of this class.

       Arguments

       List of names or	none.

   $pn->add_names(@names)
       Adds the	names given to the singleton-object and	returns	that.

   $pn->names
       Returns a list of registered plugin-names ordered by:

       1. length of the	name
       2. ASCII-betical

   $pn->regex
       Returns a "Regexp" object with all the names as alternatives.

COPYRIGHT
       (c) MMXVII - Abe	Timmerman <abetim@cpan.org>

perl v5.32.1			  2019-10-01 Dancer::RPCPlugin::PluginNames(3)

NAME | SYNOPSIS | DESCRIPTION | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Dancer::RPCPlugin::PluginNames&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help