BSD Ports

devel/p5-MooseX-Role-Parameterized 1.11 FreeBSD

Roles with composition parameters

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
34.4 KiB, 86.4 KiB installed

Description

Roles are composable units of behavior. They are useful for factoring out functionality common to many classes from any part of your class hierarchy. See L<Moose::Cookbook::Roles::Comparable_CodeReuse> for an introduction to L<Moose::Role>.

While combining roles affords you a great deal of flexibility, individual roles have very little in the way of configurability. Core Moose provides C<-alias> for renaming methods and C<-excludes> for ignoring methods. These options are primarily for resolving role conflicts. Depending on how much of a purist you are, these options are I<solely> for resolving role conflicts. See L<Moose::Cookbook::Roles::Restartable_AdvancedComposition> for more about C<-alias> and C<-excludes>.

Because roles serve many different masters, they usually provide only the least common denominator of functionality. To empower roles further, more configurability than C<-alias> and C<-excludes> is required. Perhaps your role needs to know which method to call when it is done processing. Or what default value to use for its C<url> attribute.

Parameterized roles offer a solution to these (and other) kinds of problems.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
FreeBSDdevel/p5-MooseX-Role-Parameterized1.11 newestnone known-[email protected]-
OpenBSDdevel/p5-MooseX-Role-Parameterized1.11p0 newestno data-The OpenBSD ports mailing-list <[email protected]>-
NetBSDdevel/p5-MooseX-Role-Parameterized1.11nb7 newestnone known-[email protected]2026-07-16
DragonFlydevel/p5-MooseX-Role-Parameterized1.11 newestnone known-[email protected]-
MidnightBSDdevel/p5-MooseX-Role-Parameterized1.11 newestno data-[email protected]-
HardenedBSDdevel/p5-MooseX-Role-Parameterized1.11 newestno data-[email protected]-
GhostBSDdevel/p5-MooseX-Role-Parameterized1.11 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install p5-MooseX-Role-Parameterized

From the ports tree:

cd /usr/ports/devel/p5-MooseX-Role-Parameterized/ && make install clean

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

RUN_DEPENDS=	p5-MooseX-Role-Parameterized>0:devel/p5-MooseX-Role-Parameterized

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:latest1.111.111.111.111.11
FreeBSD:14:quarterly1.111.11n/a1.111.11
FreeBSD:15:latest1.111.11n/a1.111.11
FreeBSD:15:quarterly1.111.11n/an/an/a
FreeBSD:16:latest1.111.11n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

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 4

Runtime 4

Test 3

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

Build dependencies 35
Run dependencies 30
Required by 200

The first 100 are listed.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 16
  • %%SITE_PERL%%/MooseX/Role/Parameterised.pm
  • %%SITE_PERL%%/MooseX/Role/Parameterized.pm
  • %%SITE_PERL%%/MooseX/Role/Parameterized/Extending.pod
  • %%SITE_PERL%%/MooseX/Role/Parameterized/Meta/Role/Parameterized.pm
  • %%SITE_PERL%%/MooseX/Role/Parameterized/Meta/Trait/Parameterizable.pm
  • %%SITE_PERL%%/MooseX/Role/Parameterized/Meta/Trait/Parameterized.pm
  • %%SITE_PERL%%/MooseX/Role/Parameterized/Parameters.pm
  • %%SITE_PERL%%/MooseX/Role/Parameterized/Tutorial.pod
  • %%PERL5_MAN3%%/MooseX::Role::Parameterised.3.gz
  • %%PERL5_MAN3%%/MooseX::Role::Parameterized.3.gz
  • %%PERL5_MAN3%%/MooseX::Role::Parameterized::Extending.3.gz
  • %%PERL5_MAN3%%/MooseX::Role::Parameterized::Meta::Role::Parameterized.3.gz
  • %%PERL5_MAN3%%/MooseX::Role::Parameterized::Meta::Trait::Parameterizable.3.gz
  • %%PERL5_MAN3%%/MooseX::Role::Parameterized::Meta::Trait::Parameterized.3.gz
  • %%PERL5_MAN3%%/MooseX::Role::Parameterized::Parameters.3.gz
  • %%PERL5_MAN3%%/MooseX::Role::Parameterized::Tutorial.3.gz
distinfo 1
FileSizeSHA256
MooseX-Role-Parameterized-1.11.tar.gz495481cfe766c5d7f0ecab57f733dcca430a2a2acd6b995757141b940ade3692bec9e
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.