mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
ad4f267b7a
search.cpan.org is shutting down. It will redirect to metacpan.org after June 25, 2018. With hat: perl
11 lines
540 B
Plaintext
11 lines
540 B
Plaintext
MooseX::MultiMethods provides multi method dispatch based on Moose type
|
|
constraints. It does so by providing a multi keyword that extends the
|
|
method keyword provided by MooseX::Method::Signatures.
|
|
|
|
When invoking a method declared as multi a matching variant is being searched
|
|
in all the declared multi variants based on the passed parameters and the
|
|
declared type constraints. If a variant has been found, it will be invoked.
|
|
If no variant could be found, an exception will be thrown.
|
|
|
|
WWW: https://metacpan.org/release/MooseX-MultiMethods
|