Guillermo Roditi > MooseX-TypeMap > MooseX::TypeMap::Entry

Download:
MooseX-TypeMap-0.003000.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.002000   Source  

NAME ^

MooseX::TypeMap::Entry - A type-constraint-to-data map entry

SYNOPSIS ^

    use MooseX::Types::Moose qw(Num);

    MooseX::TypeMap::Entry->new(
       data => 'number',
       type_constraint => Num,
    );

ATTRIBUTES ^

data

An optional read-only value of any kind.

The following methods are associated with this attribute:

data - reader

type_constraint

A required, read-only Moose::Meta::TypeConstraint.

The following methods are associated with this attribute:

type_constraint - reader

METHODS ^

new

arguments: \%arguments
return value: $object_instance

Constructor. Accepts the following keys: data, type_constraint.

AUTHORS, COPYRIGHT AND LICENSE ^

Please see MooseX::TyeMap

syntax highlighting: