BSD Ports

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.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
OpenBSDdevel/p5-MooseX-StrictConstructor0.21p1 newestno data-The OpenBSD ports mailing-list <[email protected]>-
FreeBSDdevel/p5-MooseX-StrictConstructor0.21 newestnone known-[email protected]-
NetBSDdevel/p5-MooseX-StrictConstructor0.21nb10 newestnone known-[email protected]2026-07-16
DragonFlydevel/p5-MooseX-StrictConstructor0.21 newestnone known-[email protected]-
MidnightBSDdevel/p5-MooseX-StrictConstructor0.21 newestno data-[email protected]-
HardenedBSDdevel/p5-MooseX-StrictConstructor0.21 newestno data-[email protected]-
GhostBSDdevel/p5-MooseX-StrictConstructor0.21 newestno data-[email protected]-

Compare across BSDs

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.

Dependencies

Run dependencies 2
Required by 1