BSD Ports

devel/p5-MooX-StrictConstructor 0.011nb7 NetBSD

Make your Moo-based object constructors blow up on unknown attributes

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
67f48ccfc1
License
gnu-gpl-v2 OR artistic
Categories
devel, perl5
Package size
7.9 KiB, 15.1 KiB installed

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 dies. This is a great way to catch small typos.

In the other systems

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

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDdevel/p5-MooX-StrictConstructor0.011nb7 behind since 2026-10-05none known-[email protected]2026-10-05
FreeBSDdevel/p5-MooX-StrictConstructor0.013 newestnone known-[email protected]-
OpenBSDdevel/p5-MooX-StrictConstructor0.013 newestno data-The OpenBSD ports mailing-list <[email protected]>-
DragonFlydevel/p5-MooX-StrictConstructor0.013 newestnone known-[email protected]-
MidnightBSDdevel/p5-MooX-StrictConstructor0.013 newestno data-[email protected]-
HardenedBSDdevel/p5-MooX-StrictConstructor0.013 newestno data-[email protected]-
GhostBSDdevel/p5-MooX-StrictConstructor0.013 newestno data-[email protected]-

Compare across BSDs

Version history 1

  1. 0.013 67f48ccfc1

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkgin install p5-MooX-StrictConstructor

From pkgsrc:

cd /usr/pkgsrc/devel/p5-MooX-StrictConstructor && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.011nb7
NetBSD 10.1 aarch640.011nb7
SmartOS / illumos x86_640.013
macOS 15 arm640.013

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 7

Commit history 2

DateCommitCreditsLog message
67f48ccfc1 wen Update to 0.013
Upstream changes: 0.013 2024-10-18 - fixed extends not being cleaned up by "no Moo" - rename internal role used to be in under the namespace of the main module - fix the reported location of the error to be the caller - fix object being partially constructed before checking arguments - add -late option, allowing non-attribute arguments to be handled in BUILD 0.012 2024-10-16 - drop strictures prerequisite - minor Pod cleanups - revise Dist::Zilla packaging
618415630a wiz *: recursive bump for perl5 5.44.0