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.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | devel/p5-MooseX-Role-WarnOnConflict | 0.01 newest | none known | - | [email protected] | - |
| FreeBSD | devel/p5-MooseX-Role-WarnOnConflict | 0.01 newest | none known | - | [email protected] | - |
| HardenedBSD | devel/p5-MooseX-Role-WarnOnConflict | 0.01 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-MooseX-Role-WarnOnConflict | 0.01 newest | no 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.