devel/p5-Sub-Multi 0.003_1 FreeBSD
Data::Bind-based multi-sub dispatch
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Categories
- devel, perl5
- Package size
- 3.9 KiB, 4.2 KiB installed
Description
Perl6 allows multiple subs and methods with the same name, differing only in their signature.
multi sub bar (Dog $foo) {?}
multi sub bar (Cat $foo) {?}
Dispatching will happen based on the runtime signature of the subroutine or method call.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-Sub-Multi | 0.003_1 |
| DragonFly | devel/p5-Sub-Multi | 0.003_1 |
Install
Binary package:
pkg install p5-Sub-Multi
From the ports tree:
cd /usr/ports/devel/p5-Sub-Multi/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Sub-Multi>0:devel/p5-Sub-Multi
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.003_1 | 0.003_1 | 0.003_1 | 0.003_1 | 0.003_1 |
| FreeBSD:14:quarterly | 0.003_1 | 0.003_1 | n/a | 0.003_1 | 0.003_1 |
| FreeBSD:15:latest | 0.003_1 | 0.003_1 | n/a | 0.003_1 | 0.003_1 |
| FreeBSD:15:quarterly | 0.003_1 | 0.003_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.003_1 | 0.003_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
p5-Class-Multimethods-Pure>=0.11: devel/p5-Class-Multimethods-Purep5-Data-Bind>=0.26: devel/p5-Data-Bind
Runtime 2
p5-Class-Multimethods-Pure>=0.11: devel/p5-Class-Multimethods-Purep5-Data-Bind>=0.26: devel/p5-Data-Bind
Test 1
p5-Test-Exception>=0: devel/p5-Test-Exception
The full lists below include those, and their dependencies in turn.
Build dependencies 8
Run dependencies 8
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%PERL5_MAN3%%/Sub::Multi.3.gz
- %%SITE_PERL%%/Sub/Multi.pm
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Sub-Multi-0.003.tar.gz | 13326 | e8f1ac96f555b4f096542f3e7b39533097a9209e250e999dde48725fbc264022 |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.