devel/p5-MooseX-Types-Structured 0.36 MidnightBSD
Moose Type Constraint classes for Structured Types
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- License
- artistic, gpl+
- Categories
- devel, perl5
Description
A structured type constraint is a standard container Moose type constraint, such as an ArrayRef or HashRef, which has been enhanced to allow you to explicitly name all the allowed type constraints inside the structure. The generalized form is:
TypeConstraint\[@TypeParameters or %TypeParameters\]
Where 'TypeParameters' is an array reference or hash references of Moose::Meta::TypeConstraint objects.
This type library enables structured type constraints. It is built on top of the MooseX::Types library system, so you should review the documentation for that if you are not familiar with it.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | devel/p5-MooseX-Types-Structured | 0.36 |
| FreeBSD | devel/p5-MooseX-Types-Structured | 0.36 |
| OpenBSD | devel/p5-MooseX-Types-Structured | 0.36p1 |
| NetBSD | devel/p5-MooseX-Types-Structured | 0.36nb9 |
| DragonFly | devel/p5-MooseX-Types-Structured | 0.36 |
| HardenedBSD | devel/p5-MooseX-Types-Structured | 0.36 |
| GhostBSD | devel/p5-MooseX-Types-Structured | 0.36 |
Install
Binary package:
mport install p5-MooseX-Types-Structured
From mports:
cd /usr/mports/devel/p5-MooseX-Types-Structured && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-MooseX-Types-Structured>0:devel/p5-MooseX-Types-Structured
Dependencies
As this port's Makefile names them.
Build 5
p5-Devel-PartialDump>=0.13: devel/p5-Devel-PartialDumpp5-Moose>=1.08: devel/p5-Moosep5-MooseX-Types>=0.22: devel/p5-MooseX-Typesp5-Sub-Exporter>=0.982: devel/p5-Sub-Exporterp5-namespace-clean>=0.19: devel/p5-namespace-clean
Runtime 5
p5-Devel-PartialDump>=0.13: devel/p5-Devel-PartialDumpp5-Moose>=1.08: devel/p5-Moosep5-MooseX-Types>=0.22: devel/p5-MooseX-Typesp5-Sub-Exporter>=0.982: devel/p5-Sub-Exporterp5-namespace-clean>=0.19: devel/p5-namespace-clean
Test 3
p5-DateTime>=0: devel/p5-DateTimep5-Test-Fatal>=0: devel/p5-Test-Fatalp5-Test-Needs>=0: devel/p5-Test-Needs
Build dependencies 5
Run dependencies 5
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 9
- %%SITE_PERL%%/MooseX/Meta/TypeCoercion/Structured.pm
- %%SITE_PERL%%/MooseX/Meta/TypeCoercion/Structured/Optional.pm
- %%SITE_PERL%%/MooseX/Meta/TypeConstraint/Structured.pm
- %%SITE_PERL%%/MooseX/Meta/TypeConstraint/Structured/Optional.pm
- %%SITE_PERL%%/MooseX/Types/Structured.pm
- %%SITE_PERL%%/MooseX/Types/Structured/MessageStack.pm
- %%SITE_PERL%%/MooseX/Types/Structured/OverflowHandler.pm
- %%PERL5_MAN3%%/MooseX::Meta::TypeConstraint::Structured.3.gz
- %%PERL5_MAN3%%/MooseX::Types::Structured.3.gz
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| MooseX-Types-Structured-0.36.tar.gz | 61348 | 43cdb652f9638723e3577cb0f8b5468620244c9636e7659811e5b4a801603d57 |
Master sites 1
- CPAN