Group :: Desenvolvimento/Perl
RPM: perl-Syntax-Keyword-MultiSub
Principal Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
A versão atual: 0.04-alt1
Data da compilação: 28 julho 2023, 15:08 ( 41.0 weeks ago )
Tamanho:: 23.20 Kb
Home page: http://search.cpan.org/dist/Syntax-Keyword-Mult…
Licença: perl
Sumário: multiple dispatch on subroutines
Descrição:
Lista dos contribuidores Lista dos rpms provida por esta srpm:
ACL:
Data da compilação: 28 julho 2023, 15:08 ( 41.0 weeks ago )
Tamanho:: 23.20 Kb
Home page: http://search.cpan.org/dist/Syntax-Keyword-Mult…
Licença: perl
Sumário: multiple dispatch on subroutines
Descrição:
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.
Mantenedor currente: 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.
Lista dos contribuidores Lista dos rpms provida por esta srpm:
- perl-Syntax-Keyword-MultiSub
- perl-Syntax-Keyword-MultiSub-debuginfo