BSD Ports

devel/p5-MooseX-Role-WarnOnConflict 0.01 DragonFly

Warn if classes override role methods without excluding them

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART20
Categories
devel, perl5
Package size
9.2 KiB, 18.5 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
DragonFlydevel/p5-MooseX-Role-WarnOnConflict0.01 newestnone known-[email protected]-
FreeBSDdevel/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 DPorts:

cd /usr/dports/devel/p5-MooseX-Role-WarnOnConflict && 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
Required by 1