Package perl-Syntax-Keyword-MultiSub: Information
Source package: perl-Syntax-Keyword-MultiSub
Version: 0.05-alt1
Build time: Sep 17, 2025, 08:42 PM in the task #395189
Category: Development/Perl
Report package bugLicense: 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.
List of RPM packages built from this SRPM:
perl-Syntax-Keyword-MultiSub (x86_64, i586, aarch64)
perl-Syntax-Keyword-MultiSub-debuginfo (x86_64, i586, aarch64)
perl-Syntax-Keyword-MultiSub (x86_64, i586, aarch64)
perl-Syntax-Keyword-MultiSub-debuginfo (x86_64, i586, aarch64)
Maintainer: Igor Vlasenko
Last changed
Sept. 17, 2025 Igor Vlasenko 0.05-alt1
- automated CPAN update
April 16, 2025 Igor Vlasenko 0.04-alt2
- NMU: fixed build
July 28, 2023 Igor Vlasenko 0.04-alt1
- automated CPAN update