devel/p5-MooseX-StrictConstructor 0.21 MidnightBSD
Make your MooseX object constructors blow up on unknown attributes
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- artistic2
- Categories
- devel, perl5
Description
Simply loading the MooseX::StrictConstructor module makes your constructors "strict". If your constructor is called with an attribute init argument that your class does not declare, then it calls "Carp::confess()". 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 |
|---|---|---|---|---|---|---|
| MidnightBSD | devel/p5-MooseX-StrictConstructor | 0.21 newest | no data | - | [email protected] | - |
| FreeBSD | devel/p5-MooseX-StrictConstructor | 0.21 newest | none known | - | [email protected] | - |
| OpenBSD | devel/p5-MooseX-StrictConstructor | 0.21p1 newest | no data | - | The OpenBSD ports mailing-list <[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] | - |
| 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:
mport install p5-MooseX-StrictConstructor
From mports:
cd /usr/mports/devel/p5-MooseX-StrictConstructor && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-MooseX-StrictConstructor>0:devel/p5-MooseX-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 2
p5-Moose>=0.94: devel/p5-Moosep5-namespace-autoclean>=0: devel/p5-namespace-autoclean
Runtime 2
p5-Moose>=0.94: devel/p5-Moosep5-namespace-autoclean>=0: devel/p5-namespace-autoclean
Build dependencies 2
Run dependencies 2
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 6
- %%PERL5_MAN3%%/MooseX::StrictConstructor.3.gz
- %%PERL5_MAN3%%/MooseX::StrictConstructor::Trait::Class.3.gz
- %%PERL5_MAN3%%/MooseX::StrictConstructor::Trait::Method::Constructor.3.gz
- %%SITE_PERL%%/MooseX/StrictConstructor.pm
- %%SITE_PERL%%/MooseX/StrictConstructor/Trait/Class.pm
- %%SITE_PERL%%/MooseX/StrictConstructor/Trait/Method/Constructor.pm
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| MooseX-StrictConstructor-0.21.tar.gz | 26792 | c72a5ae9583706ccdec71d401dcb3054013a7536b750df1436613d858ea2920d |
Master sites 1
- CPAN