BSD Ports

devel/p5-Role-Tiny 2.002005nb1 NetBSD

Roles. Like a nouvelle cuisine portion size slice of Moose

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

Description

Role::Tiny is a minimalist role composition tool.

ROLE COMPOSITION

Role composition can be thought of as much more clever and meaningful multiple inheritance. The basics of this implementation of roles is:

\* If a method is already defined on a class, that method will not be
  composed in from the role.
\* If a method that the role "requires" to be implemented is not
  implemented, role application will fail loudly.

Unlike Class::C3, where the last class inherited from "wins," role composition is the other way around, where the class wins. If multiple roles are applied in a single call (single with statement), then if any of their provided methods clash, an exception is raised unless the class provides a method since this conflict indicates a potential problem.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDdevel/p5-Role-Tiny2.002005nb1 newestnone known-[email protected]2026-07-16
FreeBSDdevel/p5-Role-Tiny2.002005 newestnone known-[email protected]-
OpenBSDdevel/p5-Role-Tiny2.002005 newestno data-The OpenBSD ports mailing-list <[email protected]>2026-08-10
DragonFlydevel/p5-Role-Tiny2.002004 behind since 2026-08-10none known-[email protected]-
MidnightBSDdevel/p5-Role-Tiny2.002005 newestno data-[email protected]-
HardenedBSDdevel/p5-Role-Tiny2.002005 newestno data-[email protected]-
GhostBSDdevel/p5-Role-Tiny2.002005 newestno data-[email protected]-
OPNsensedevel/p5-Role-Tiny2.002005 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkgin install p5-Role-Tiny

From pkgsrc:

cd /usr/pkgsrc/devel/p5-Role-Tiny && 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_642.002005nb1
NetBSD 10.1 aarch642.002005nb1
SmartOS / illumos x86_642.002005nb1
macOS 15 arm642.002005nb1

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 1

Commit history 1

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