BSD Ports

devel/p5-MooX-StrictConstructor 0.013 MidnightBSD

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

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl+
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 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
MidnightBSDdevel/p5-MooX-StrictConstructor0.013 newestno data-[email protected]-
FreeBSDdevel/p5-MooX-StrictConstructor0.013 newestnone known-[email protected]-
OpenBSDdevel/p5-MooX-StrictConstructor0.013 newestno data-The OpenBSD ports mailing-list <[email protected]>-
NetBSDdevel/p5-MooX-StrictConstructor0.011nb7 behind since 2026-10-05none known-[email protected]2026-10-05
DragonFlydevel/p5-MooX-StrictConstructor0.013 newestnone known-[email protected]-
HardenedBSDdevel/p5-MooX-StrictConstructor0.013 newestno data-[email protected]-
GhostBSDdevel/p5-MooX-StrictConstructor0.013 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install p5-MooX-StrictConstructor

From mports:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-MooX-StrictConstructor>0:devel/p5-MooX-StrictConstructor

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

As this port's Makefile names them.

Build 3

Runtime 3

Test 1

Build dependencies 3
Run dependencies 3

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 10
  • %%SITE_PERL%%/MooX/StrictConstructor.pm
  • %%SITE_PERL%%/MooX/StrictConstructor/Role/BuildAll.pm
  • %%SITE_PERL%%/MooX/StrictConstructor/Role/Constructor.pm
  • %%SITE_PERL%%/MooX/StrictConstructor/Role/Constructor/Base.pm
  • %%SITE_PERL%%/MooX/StrictConstructor/Role/Constructor/Late.pm
  • %%PERL5_MAN3%%/MooX::StrictConstructor.3.gz
  • %%PERL5_MAN3%%/MooX::StrictConstructor::Role::BuildAll.3.gz
  • %%PERL5_MAN3%%/MooX::StrictConstructor::Role::Constructor.3.gz
  • %%PERL5_MAN3%%/MooX::StrictConstructor::Role::Constructor::Base.3.gz
  • %%PERL5_MAN3%%/MooX::StrictConstructor::Role::Constructor::Late.3.gz
distinfo 1
FileSizeSHA256
MooX-StrictConstructor-0.013.tar.gz21523b956a4a0fef3e48837a573b89d99dfb399fff89012ca77e7d80d7d76f04b4e9b
Master sites 1
  • CPAN