BSD Ports

devel/p5-MooseX-Traits 0.13nb11 NetBSD

Automatically apply roles at object creation time

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
618415630a
License
gnu-gpl-v2 OR artistic
Categories
devel, perl5
Package size
8.3 KiB, 13.8 KiB installed

Description

Often a developer 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
NetBSDdevel/p5-MooseX-Traits0.13nb11 newestnone known-[email protected]2026-07-16
FreeBSDdevel/p5-MooseX-Traits0.13 newestnone known-[email protected]-
OpenBSDdevel/p5-MooseX-Traits0.13p1 newestno data-The OpenBSD ports mailing-list <[email protected]>-
DragonFlydevel/p5-MooseX-Traits0.13 newestnone known-[email protected]-
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:

pkgin install p5-MooseX-Traits

From pkgsrc:

cd /usr/pkgsrc/devel/p5-MooseX-Traits && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.13nb11
NetBSD 10.1 aarch640.13nb11
SmartOS / illumos x86_640.13nb11
macOS 15 arm640.13nb11

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 4

Commit history 1

DateCommitCreditsLog message
618415630a wiz *: recursive bump for perl5 5.44.0