devel/p5-MooseX-Role-Parameterized 1.11 DragonFly
Roles with composition parameters
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 40.2 KiB, 93.5 KiB installed
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 |
|---|---|---|---|---|---|---|
| DragonFly | devel/p5-MooseX-Role-Parameterized | 1.11 newest | none known | - | [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 |
| MidnightBSD | devel/p5-MooseX-Role-Parameterized | 1.11 newest | no data | - | [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:
pkg install p5-MooseX-Role-Parameterized
From DPorts:
cd /usr/dports/devel/p5-MooseX-Role-Parameterized && make install clean
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
Run dependencies 5
Required by 19
- databases/p5-DBIx-Class-DeploymentHandler
- databases/p5-Mongoose
- devel/p5-AnyEvent-Subprocess
- devel/p5-Dist-Zilla
- devel/p5-MooseX-AttributeShortcuts
- devel/p5-MooseX-Declare
- devel/p5-MooseX-Getopt
- devel/p5-MooseX-OneArgNew
- devel/p5-MooseX-RelatedClassRoles
- devel/p5-MooseX-Role-Matcher
- devel/p5-Reflex
- devel/p5-Role-HasMessage
- net/p5-Net-Amazon-S3
- net/p5-Net-HTTP-Spore
- net/p5-Net-Riak
- net/p5-Net-Twitter
- www/p5-Reaction
- www/p5-WWW-Mechanize-TreeBuilder
- www/rt50