devel/p5-Sub-Multi 0.003_1 DragonFly
Data::Bind-based multi-sub dispatch
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- Categories
- devel, perl5
- Package size
- 3.8 KiB, 4.4 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 |
|---|---|---|
| DragonFly | devel/p5-Sub-Multi | 0.003_1 |
| FreeBSD | devel/p5-Sub-Multi | 0.003_1 |
| HardenedBSD | devel/p5-Sub-Multi | 0.003_1 |
| GhostBSD | devel/p5-Sub-Multi | 0.003_1 |
Install
Binary package:
pkg install p5-Sub-Multi
From DPorts:
cd /usr/dports/devel/p5-Sub-Multi && make install clean
Dependencies
Run dependencies 3
No port depends on this one.