Group :: Desenvolvimento/Perl
RPM: perl-MooseX-Role-Parameterized
Principal Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
A versão atual: 1.11-alt1.1
Data da compilação: 22 abril 2020, 18:50 ( 208.0 weeks ago )
Tamanho:: 54.29 Kb
Home page: http://search.cpan.org/dist/MooseX-Role-Paramet…
Licença: GPL or Artistic
Sumário: Roles with composition parameters
Descrição:
Lista dos contribuidores Lista dos rpms provida por esta srpm:
ACL:
Data da compilação: 22 abril 2020, 18:50 ( 208.0 weeks ago )
Tamanho:: 54.29 Kb
Home page: http://search.cpan.org/dist/MooseX-Role-Paramet…
Licença: GPL or Artistic
Sumário: Roles with composition parameters
Descrição:
Roles are composable units of behavior. They are useful for factoring out
functionality common to many classes from any part of your class hierarchy.
See Moose::Cookbook::Roles::Recipe1 for an introduction to Moose::Role.
While combining roles affords you a great deal of flexibility, individual
roles have very little in the way of configurability. Core Moose provides
-alias for renaming methods and -excludes for ignoring methods. These
options are primarily for resolving role conflicts. Depending on how much
of a purist you are, these options are solely for resolving role conflicts.
See Moose::Cookbook::Roles::Recipe2 for more about -alias and -excludes.
Because roles serve many different masters, they usually provide only the
least common denominator of functionality. To empower roles further, more
configurability than -alias and -excludes is required. Perhaps your role
needs to know which method to call when it is done processing. Or what
default value to use for its url attribute.
Parameterized roles offer a solution to these (and other) kinds of problems.
Mantenedor currente: Igor Vlasenko functionality common to many classes from any part of your class hierarchy.
See Moose::Cookbook::Roles::Recipe1 for an introduction to Moose::Role.
While combining roles affords you a great deal of flexibility, individual
roles have very little in the way of configurability. Core Moose provides
-alias for renaming methods and -excludes for ignoring methods. These
options are primarily for resolving role conflicts. Depending on how much
of a purist you are, these options are solely for resolving role conflicts.
See Moose::Cookbook::Roles::Recipe2 for more about -alias and -excludes.
Because roles serve many different masters, they usually provide only the
least common denominator of functionality. To empower roles further, more
configurability than -alias and -excludes is required. Perhaps your role
needs to know which method to call when it is done processing. Or what
default value to use for its url attribute.
Parameterized roles offer a solution to these (and other) kinds of problems.
Lista dos contribuidores Lista dos rpms provida por esta srpm:
- perl-MooseX-Role-Parameterized