p5-MooseX-Role-Parameterized-1.11.txz


Advertisement

Description

p5-MooseX-Role-Parameterized - Roles with composition parameters

Property Value
Distribution FreeBSD 11
Repository FreeBSD Ports Quarterly amd64
Package filename p5-MooseX-Role-Parameterized-1.11.txz
Package name p5-MooseX-Role-Parameterized
Package version 1.11
Package release -
Package architecture amd64
Package type txz
Category devel perl5
Homepage https://metacpan.org/release/MooseX-Role-Parameterized
License GPLv1+, ART10
Maintainer perl@FreeBSD.org
Download size 39.96 KB
Installed size 93.54 KB
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
L<Moose::Cookbook::Roles::Comparable_CodeReuse> for an introduction to
L<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 C<-alias>
for renaming methods and C<-excludes> for ignoring methods. These options are
primarily for resolving role conflicts. Depending on how much of a purist you
are, these options are I<solely> for resolving role conflicts. See
L<Moose::Cookbook::Roles::Restartable_AdvancedComposition> for more about
C<-alias> and C<-excludes>.
Because roles serve many different masters, they usually provide only the least
common denominator of functionality. To empower roles further, more
configurability than C<-alias> and C<-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 C<url> attribute.
Parameterized roles offer a solution to these (and other) kinds of problems.
WWW: https://metacpan.org/release/MooseX-Role-Parameterized

Alternatives

Package Version Architecture Repository
p5-MooseX-Role-Parameterized-1.11.txz 1.11 amd64 FreeBSD Ports Latest
p5-MooseX-Role-Parameterized-1.11.txz 1.11 i386 FreeBSD Ports Latest
p5-MooseX-Role-Parameterized-1.11.txz 1.11 i386 FreeBSD Ports Quarterly
p5-MooseX-Role-Parameterized - - -

Requires

Name Value
p5-Module-Runtime = 0.016
p5-Moose = 2.2011,1
p5-namespace-autoclean = 0.29
p5-namespace-clean = 0.27
perl5 = 5.30.0

Download

Type URL
Mirror pkg.freebsd.org
Binary Package p5-MooseX-Role-Parameterized-1.11.txz
Source Package devel/p5-MooseX-Role-Parameterized

Install Howto

Install p5-MooseX-Role-Parameterized txz package:

# pkg install p5-MooseX-Role-Parameterized

See Also

Package Description
p5-MooseX-Role-Strict-0.05_1.txz Use strict 'roles'
p5-MooseX-Runnable-0.10.txz Tag a class as a runnable application
p5-MooseX-SemiAffordanceAccessor-0.10.txz Name your accessors foo() and set_foo()
p5-MooseX-SetOnce-0.200002_1.txz Write-once, read-many attributes for Moose
p5-MooseX-SimpleConfig-0.11.txz Moose role for setting attributes from a simple configfile
p5-MooseX-Singleton-0.30.txz Turn Moose class into a singleton
p5-MooseX-Storage-0.52.txz Serialization framework for Moose classes
p5-MooseX-StrictConstructor-0.21.txz Make your MooseX object constructors blow up on unknown attributes
p5-MooseX-TraitFor-Meta-Class-BetterAnonClassNames-0.002003.txz Metaclass trait to demystify generated anonymous class names
p5-MooseX-Traits-0.13.txz Moose eXtension to automatically apply roles at object creation time
p5-MooseX-Traits-Pluggable-0.12_1.txz Trait loading and resolution for Moose
p5-MooseX-TransactionalMethods-0.009.txz Syntax sugar for transactional methods
p5-MooseX-Types-0.50.txz Organise your Moose types in libraries
p5-MooseX-Types-Common-0.001014.txz Set of commonly-used type constraints that do not ship with p5-Moose
p5-MooseX-Types-DateTime-0.13.txz DateTime related constraints and coercions for Moose
Advertisement
Advertisement