devel/p5-MooseX-StrictConstructor 0.21p1 OpenBSD
blow up object constructors on unknown attributes
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Categories
- devel, perl5
Description
Simply loading this module makes your constructors "strict". If your constructor is called with an attribute init argument that your class does not declare, then it calls Moose->throw_error(). This is a great way to catch small typos.
In the other systems
The newest version among them is 0.21, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| OpenBSD | devel/p5-MooseX-StrictConstructor | 0.21p1 newest | no data | - | The OpenBSD ports mailing-list <[email protected]> | - |
| FreeBSD | devel/p5-MooseX-StrictConstructor | 0.21 newest | none known | - | [email protected] | - |
| NetBSD | devel/p5-MooseX-StrictConstructor | 0.21nb10 newest | none known | - | [email protected] | 2026-07-16 |
| DragonFly | devel/p5-MooseX-StrictConstructor | 0.21 newest | none known | - | [email protected] | - |
| MidnightBSD | devel/p5-MooseX-StrictConstructor | 0.21 newest | no data | - | [email protected] | - |
| HardenedBSD | devel/p5-MooseX-StrictConstructor | 0.21 newest | no data | - | [email protected] | - |
| GhostBSD | devel/p5-MooseX-StrictConstructor | 0.21 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg_add p5-MooseX-StrictConstructor
From the ports tree:
cd /usr/ports/devel/p5-MooseX-StrictConstructor && make install
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.