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:
type_constraint
A required, read-only Moose::Meta::TypeConstraint.
The following methods are associated with this attribute:
METHODS
new
Constructor. Accepts the following keys: data
, type_constraint
.
AUTHORS, COPYRIGHT AND LICENSE
Please see MooseX::TyeMap