Port details on branch 2022Q3 |
- p5-Class-Multimethods Support multimethods and function overloading in Perl
- 1.701 devel =0 1.701Version of this port present on the latest quarterly branch.
- Maintainer: bofh@FreeBSD.org
- Port Added: 2006-06-01 07:13:45
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/release/Class-Multimethods
- Description:
- The Class:Multimethod module exports a subroutine (&multimethod) that can
be used to declare other subroutines that are dispatched using a algorithm
different from the normal Perl subroutine or method dispatch mechanism.
Normal Perl subroutines are dispatched by finding the appropriately-named
subroutine in the current (or specified) package and calling that. Normal
Perl methods are dispatched by attempting to find the appropriately-named
subroutine in the package into which the invoking object is blessed or,
failing that, recursively searching for it in the packages listed in the
appropriate @ISA arrays.
Class::Multimethods multimethods are dispatched quite differently. The
dispatch mechanism looks at the classes or types of each argument to the
multimethod (by calling ref on each) and determines the "closest" matching
variant of the multimethod, according to the argument types specified in
the variants' definitions (see "Finding the "nearest" multimethod" for a
definition of "closest").
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Class-Multimethods>0:devel/p5-Class-Multimethods
- To install the port:
- cd /usr/ports/devel/p5-Class-Multimethods/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-Class-Multimethods
- pkg install p5-Class-Multimethods
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Class-Multimethods
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1488723381
SHA256 (Class-Multimethods-1.701.tar.gz) = eec283d159bf05fecfcdf72e84ea814c8320022bca6ce7c70760e72231f8758c
SIZE (Class-Multimethods-1.701.tar.gz) = 31394
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- This port is required by:
- for Build
-
- lang/p5-Quantum-Superpositions
- for Run
-
- lang/p5-Quantum-Superpositions
Configuration Options:
- No options to configure
- Options name:
- devel_p5-Class-Multimethods
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|