Group :: Development/Perl
RPM: perl-Syntax-Keyword-MultiSub
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Current version: 0.04-alt1
Build date: 28 july 2023, 15:08 ( 39.9 weeks ago )
Size: 23.20 Kb
Home page: http://search.cpan.org/dist/Syntax-Keyword-Mult…
License: perl
Summary: multiple dispatch on subroutines
Description:
List of contributors List of rpms provided by this srpm:
ACL:
Build date: 28 july 2023, 15:08 ( 39.9 weeks ago )
Size: 23.20 Kb
Home page: http://search.cpan.org/dist/Syntax-Keyword-Mult…
License: perl
Summary: multiple dispatch on subroutines
Description:
This module 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.
Current maintainer: Igor Vlasenko 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.
List of contributors List of rpms provided by this srpm:
- perl-Syntax-Keyword-MultiSub
- perl-Syntax-Keyword-MultiSub-debuginfo