devel/p5-MooseX-Role-Parameterized 1.11p0 OpenBSD
roles with composition parameters
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Categories
- devel, perl5
Description
Your parameterized role consists of two new things: parameter declarations and a role block. Parameters are declared using the "parameter" keyword which very much resembles "has" in Moose. You can use any option that "has" in Moose accepts. The default value for the is option is ro as that's a very common case. Use is => 'bare' if you want no accessor. These parameters will get their values when the consuming class (or role) uses "with" in Moose. A parameter object will be constructed with these values, and passed to the role block.
There are many possible implementations for parameterized roles (hopefully with a consistent enough API).
In the other systems
The newest version among them is 1.11, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| OpenBSD | devel/p5-MooseX-Role-Parameterized | 1.11p0 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | - |
| FreeBSD | devel/p5-MooseX-Role-Parameterized | 1.11 newest | none known | - | [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] | - |
| 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_add p5-MooseX-Role-Parameterized
From the ports tree:
cd /usr/ports/devel/p5-MooseX-Role-Parameterized && make install
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.