devel/p5-MooseX-Role-Parameterized 1.11 MidnightBSD
Roles with composition parameters
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- artistic, gpl+
- Categories
- devel, perl5
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 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.
In the other systems
The newest version among them is 1.11, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/p5-MooseX-Role-Parameterized | 1.11 newest | no data | - | [email protected] | - |
| FreeBSD | devel/p5-MooseX-Role-Parameterized | 1.11 newest | none known | - | [email protected] | - |
| OpenBSD | devel/p5-MooseX-Role-Parameterized | 1.11p0 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | - |
| NetBSD | devel/p5-MooseX-Role-Parameterized | 1.11nb7 newest | none known | - | [email protected] | 2026-07-16 |
| DragonFly | devel/p5-MooseX-Role-Parameterized | 1.11 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/p5-MooseX-Role-Parameterized | 1.11 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-MooseX-Role-Parameterized | 1.11 newest | no data | - | [email protected] | - |
Install
Binary package:
mport install p5-MooseX-Role-Parameterized
From mports:
cd /usr/mports/devel/p5-MooseX-Role-Parameterized && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-MooseX-Role-Parameterized>0:devel/p5-MooseX-Role-Parameterized
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
As this port's Makefile names them.
Build 4
p5-Module-Runtime>=0: devel/p5-Module-Runtimep5-Moose>=2.0300: devel/p5-Moosep5-namespace-autoclean>=0: devel/p5-namespace-autocleanp5-namespace-clean>=0.19: devel/p5-namespace-clean
Runtime 4
p5-Module-Runtime>=0: devel/p5-Module-Runtimep5-Moose>=2.0300: devel/p5-Moosep5-namespace-autoclean>=0: devel/p5-namespace-autocleanp5-namespace-clean>=0.19: devel/p5-namespace-clean
Build dependencies 4
Run dependencies 4
Required by 2
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 16
- %%SITE_PERL%%/MooseX/Role/Parameterised.pm
- %%SITE_PERL%%/MooseX/Role/Parameterized.pm
- %%SITE_PERL%%/MooseX/Role/Parameterized/Extending.pod
- %%SITE_PERL%%/MooseX/Role/Parameterized/Meta/Role/Parameterized.pm
- %%SITE_PERL%%/MooseX/Role/Parameterized/Meta/Trait/Parameterizable.pm
- %%SITE_PERL%%/MooseX/Role/Parameterized/Meta/Trait/Parameterized.pm
- %%SITE_PERL%%/MooseX/Role/Parameterized/Parameters.pm
- %%SITE_PERL%%/MooseX/Role/Parameterized/Tutorial.pod
- %%PERL5_MAN3%%/MooseX::Role::Parameterised.3.gz
- %%PERL5_MAN3%%/MooseX::Role::Parameterized.3.gz
- %%PERL5_MAN3%%/MooseX::Role::Parameterized::Extending.3.gz
- %%PERL5_MAN3%%/MooseX::Role::Parameterized::Meta::Role::Parameterized.3.gz
- %%PERL5_MAN3%%/MooseX::Role::Parameterized::Meta::Trait::Parameterizable.3.gz
- %%PERL5_MAN3%%/MooseX::Role::Parameterized::Meta::Trait::Parameterized.3.gz
- %%PERL5_MAN3%%/MooseX::Role::Parameterized::Parameters.3.gz
- %%PERL5_MAN3%%/MooseX::Role::Parameterized::Tutorial.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| MooseX-Role-Parameterized-1.11.tar.gz | 49548 | 1cfe766c5d7f0ecab57f733dcca430a2a2acd6b995757141b940ade3692bec9e |
Master sites 1
- CPAN