Source: libsyntax-keyword-multisub-perl Maintainer: Debian Perl Group Uploaders: gregor herrmann Section: perl Testsuite: autopkgtest-pkg-perl Priority: optional Build-Depends: debhelper-compat (= 13), libextutils-cbuilder-perl, libfuture-perl , libfuture-asyncawait-perl , libmodule-build-perl, libtest-fatal-perl , libtest-simple-perl , libxs-parse-sublike-perl (>= 0.15), perl-xs-dev, perl Standards-Version: 4.6.1 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libsyntax-keyword-multisub-perl Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libsyntax-keyword-multisub-perl.git Homepage: https://metacpan.org/release/Syntax-Keyword-MultiSub Rules-Requires-Root: no Package: libsyntax-keyword-multisub-perl Architecture: any Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}, libxs-parse-sublike-perl (>= 0.15) Description: multiple subroutine dispatch syntax extension Syntax::Keyword::MultiSub provides a new keyword, multi, to put before subroutine declarations, which permits multiple distinct function bodies to be provided, which take different parameters. A call to a multi sub will invoke whichever function body best fits the arguments passed. . Currently this module can only make dispatching decisions based on the number of arguments as compared to the number of signature parameters each body was expecting. It requires perl version 5.26 or above, in order to get enough support from signatures. Note also enabling this module does not enable the signatures feature; you must do that independently.