BSD Ports

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

SystemPortVersion
DragonFlydevel/p5-Sub-Multi0.003_1
FreeBSDdevel/p5-Sub-Multi0.003_1
HardenedBSDdevel/p5-Sub-Multi0.003_1
GhostBSDdevel/p5-Sub-Multi0.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.