You are here: Home / LBN / Up2date / Core Linux / BastionLinux 19 / perl-MooseX-Role-Parameterized-1.00-6.fc19.noarch

perl-MooseX-Role-Parameterized-1.00-6.fc19.noarch

Package Attributes
RPM  perl-MooseX-Role-Parameterized-1.00-6.fc19.noarch.rpm Architecture  noarch Size  79371 Created  2019/09/30 06:51:38 UTC
Package Specification
Summary Make your roles flexible through parameterization
Group Development/Libraries
License GPL+ or Artistic
Home Page http://search.cpan.org/dist/MooseX-Role-Parameterized
Description

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 to avoid conflicts, and excludes for ignoring methods you don't want or need (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. Or what default value to use for its url attribute.

Parameterized roles offer exactly this solution.

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(FileDigests)  
perl  
rpmlib(PayloadIsXz)  
rpmlib(CompressedFileNames)  
Provides
perl(MooseX::Role::Parameterized)
perl(MooseX::Role::Parameterized::Meta::Role::Parameterizable)
perl(MooseX::Role::Parameterized::Meta::Role::Parameterized)
perl(MooseX::Role::Parameterized::Meta::Trait::Parameterized)
perl(MooseX::Role::Parameterized::Parameters)
perl-MooseX-Role-Parameterized
perl-MooseX-Role-Parameterized-tests
Obsoletes
perl-MooseX-Role-Parameterized-tests

Document Actions