BSD Ports

devel/p5-Role-Tiny 2.002005 FreeBSD

Roles, like a nouvelle cusine portion size slice of Moose

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
20.8 KiB, 52.0 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

SystemPortVersion
FreeBSDdevel/p5-Role-Tiny2.002005
OpenBSDdevel/p5-Role-Tiny2.002005
NetBSDdevel/p5-Role-Tiny2.002005nb1
DragonFlydevel/p5-Role-Tiny2.002004
MidnightBSDdevel/p5-Role-Tiny2.002005
HardenedBSDdevel/p5-Role-Tiny2.002005
GhostBSDdevel/p5-Role-Tiny2.002005
OPNsensedevel/p5-Role-Tiny2.002005

Install

Binary package:

pkg install p5-Role-Tiny

From the ports tree:

cd /usr/ports/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

Packages

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

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.0020052.0020052.0020042.0020042.002005
FreeBSD:14:quarterly2.0020052.002005n/a2.0020042.002005
FreeBSD:15:latest2.0020052.002005n/a2.0020042.002004
FreeBSD:15:quarterly2.0020052.002005n/an/an/a
FreeBSD:16:latest2.0020052.002005n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 2
Run dependencies 2
Required by 648

The first 100 are listed.

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

Commit history 0

No commits in the history this site was built from.