Port details on branch 2022Q2 |
- p5-Class-Multimethods-Pure Method-ordered multimethod dispatch
- 0.13_1 devel =0 0.13_1Version of this port present on the latest quarterly branch.
- Maintainer: perl@FreeBSD.org
- Port Added: 2006-07-17 01:09:59
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- Also Listed In: perl5
- License: not specified in port
- WWW:
- https://metacpan.org/release/Class-Multimethods-Pure
- Description:
- You can define multimethods with the "multi" declarator:
use Class::Multimethods::Pure;
multi collide => ('Bullet', 'Ship') => sub {
my ($a, $b) = @_; ...
};
multi collide => ('Ship', 'Asteroid') => sub {
my ($a, $b) = @_; ...
};
It is usually wise to put such declarations within a BEGIN block, so
they behave more like Perl treats subs (you can call them without
parentheses and you can use them before you define them).
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Class-Multimethods-Pure>0:devel/p5-Class-Multimethods-Pure
- To install the port:
- cd /usr/ports/devel/p5-Class-Multimethods-Pure/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-Class-Multimethods-Pure
- pkg install p5-Class-Multimethods-Pure
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Class-Multimethods-Pure
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (Class-Multimethods-Pure-0.13.tar.gz) = 42309f02e1b5d0c85c851160de48263b84e35e312652e8e83031366ac85df357
SIZE (Class-Multimethods-Pure-0.13.tar.gz) = 15387
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
-
- devel/p5-Sub-Multi
- for Run
-
- devel/p5-Sub-Multi
Configuration Options:
- No options to configure
- Options name:
- devel_p5-Class-Multimethods-Pure
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|