BSD Ports

devel/p5-Role-Tiny 2.002004 DragonFly

Roles, like a nouvelle cusine portion size slice of Moose

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

Description

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 first wins. In a more complete system (see Moose) roles are checked to see if they clash. The goal of this is to be much simpler, hence disallowing composition of multiple roles at once.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlydevel/p5-Role-Tiny2.002004 behind since 2026-08-10none known-[email protected]-
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
NetBSDdevel/p5-Role-Tiny2.002005nb1 newestnone known-[email protected]2026-07-16
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:

pkg install p5-Role-Tiny

From DPorts:

cd /usr/dports/devel/p5-Role-Tiny && 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 2