libsyntax-keyword-multisub-perl
multiple subroutine dispatch syntax extension
Description
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.Upload more screenshots
Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.
Upload a screenshotHint: upload an image here from your clipboard with Ctrl-V
Homepage
https://metacpan.org/release/Syntax-Keyword-MultiSub
Install this software package
If the package is available for the distribution you are currently using on your computer then install the software by clicking on…
Install libsyntax-keyword-multisub-perl