BSD Ports

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

SystemPortVersion
MidnightBSDdevel/p5-MooseX-Types-Structured0.36
FreeBSDdevel/p5-MooseX-Types-Structured0.36
OpenBSDdevel/p5-MooseX-Types-Structured0.36p1
NetBSDdevel/p5-MooseX-Types-Structured0.36nb9
DragonFlydevel/p5-MooseX-Types-Structured0.36
HardenedBSDdevel/p5-MooseX-Types-Structured0.36
GhostBSDdevel/p5-MooseX-Types-Structured0.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

Runtime 5

Test 3

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
FileSizeSHA256
MooseX-Types-Structured-0.36.tar.gz6134843cdb652f9638723e3577cb0f8b5468620244c9636e7659811e5b4a801603d57
Master sites 1
  • CPAN