BSD Ports

devel/p5-Role-Tiny 2.002005 MidnightBSD

Roles, like a nouvelle cusine portion size slice of Moose

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl+
Categories
devel, perl5

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
MidnightBSDdevel/p5-Role-Tiny2.002005 newestno data-[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
DragonFlydevel/p5-Role-Tiny2.002004 behind since 2026-08-10none known-[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:

mport install p5-Role-Tiny

From mports:

cd /usr/mports/devel/p5-Role-Tiny && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Role-Tiny>0:devel/p5-Role-Tiny

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

As this port's Makefile names them.

Build 1

Runtime 1

Build dependencies 1
Run dependencies 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 4
  • %%SITE_PERL%%/Role/Tiny.pm
  • %%SITE_PERL%%/Role/Tiny/With.pm
  • %%PERL5_MAN3%%/Role::Tiny.3.gz
  • %%PERL5_MAN3%%/Role::Tiny::With.3.gz
distinfo 1
FileSizeSHA256
Role-Tiny-2.002005.tar.gz364014618ec524618c104dc28a8cc86af129a00cad282aea7f4c75060ba05d4c8f4d7
Master sites 1
  • CPAN