BSD Ports

devel/p5-MooseX-Role-WarnOnConflict 0.01 FreeBSD

Warn if classes override role methods without excluding them

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART20
Categories
devel, perl5
Package size
9.5 KiB, 18.0 KiB installed

Description

When using Moose::Role, a class which provides a method a role provides will silently override that method. This can cause strange, hard-to-debug errors when the role's methods are not called. Simply use MooseX::Role::WarnOnConflict instead of Moose::Role and overriding a role's method becomes a composition-time warning. See the synopsis for a resolution.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
FreeBSDdevel/p5-MooseX-Role-WarnOnConflict0.01 newestnone known-[email protected]-
DragonFlydevel/p5-MooseX-Role-WarnOnConflict0.01 newestnone known-[email protected]-
HardenedBSDdevel/p5-MooseX-Role-WarnOnConflict0.01 newestno data-[email protected]-
GhostBSDdevel/p5-MooseX-Role-WarnOnConflict0.01 newestno data-[email protected]-

Install

Binary package:

pkg install p5-MooseX-Role-WarnOnConflict

From the ports tree:

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

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

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

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:latest0.010.010.010.010.01
FreeBSD:14:quarterly0.010.01n/a0.010.01
FreeBSD:15:latest0.010.01n/a0.010.01
FreeBSD:15:quarterly0.010.01n/an/an/a
FreeBSD:16:latest0.010.01n/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 1

Runtime 1

Test 2

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

Build dependencies 25
Run dependencies 25
Required by 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 4
  • %%SITE_PERL%%/MooseX/Meta/Role/WarnOnConflict.pm
  • %%SITE_PERL%%/MooseX/Role/WarnOnConflict.pm
  • %%PERL5_MAN3%%/MooseX::Meta::Role::WarnOnConflict.3.gz
  • %%PERL5_MAN3%%/MooseX::Role::WarnOnConflict.3.gz
distinfo 1
FileSizeSHA256
MooseX-Role-WarnOnConflict-0.01.tar.gz113655547750f239db63b23d3027a07dbb16fd01a220d681e4f61624e6851401463c3
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.