Data::Bind-based multi-sub dispatch
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.
$
pkg install p5-Sub-MultiOrigin
devel/p5-Sub-Multi
Size
4.21KiB
License
not specified
Maintainer
perl@FreeBSD.org
Dependencies
3 packages
Required by
0 packages