BSD Ports

devel/p5-MooseX-Traits 0.13 DragonFly

Moose eXtension to automatically apply roles at object creation time

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
devel, perl5
Package size
9.8 KiB, 17.8 KiB installed

Description

Often you want to create components that can be added to a class arbitrarily. This module makes it easy for the end user to use these components. Instead of requiring the user to create a named class with the desired roles applied, or applying roles to the instance one-by-one, he can just pass a traits parameter to the class's new_with_traits constructor. This role will then apply the roles in one go, cache the resulting class (for efficiency), and return a new instance. Arguments meant to initialize the applied roles' attributes can also be passed to the constructor.

In the other systems

The newest version among them is 0.13, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-MooseX-Traits0.13 newestnone known-[email protected]-
FreeBSDdevel/p5-MooseX-Traits0.13 newestnone known-[email protected]-
OpenBSDdevel/p5-MooseX-Traits0.13p1 newestno data-The OpenBSD ports mailing-list <[email protected]>-
NetBSDdevel/p5-MooseX-Traits0.13nb11 newestnone known-[email protected]2026-07-16
MidnightBSDdevel/p5-MooseX-Traits0.13 newestno data-[email protected]-
HardenedBSDdevel/p5-MooseX-Traits0.13 newestno data-[email protected]-
GhostBSDdevel/p5-MooseX-Traits0.13 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install p5-MooseX-Traits

From DPorts:

cd /usr/dports/devel/p5-MooseX-Traits && 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