NAME
Data::Object::Library - Data::Object Type Library for Perl 5
VERSION
version 0.03
SYNOPSIS
use Data::Object::Library;
DESCRIPTION
Data::Object::Library is a Type::Tiny library that extends the Types::Standard, Types::Common::Numeric, and Types::Common::String libraries and adds additional type constraints and coercions which validate and transform Data::Object data type objects.
TYPES
This following is a complete list of type constraints provided by this library.
-
AnyThe Any type constraint is provided by the Types::Standard library. Please see that documentation.
-
AnyObjThe AnyObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Universal.
-
AnyObjectThe AnyObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Universal.
-
ArrayObjThe ArrayObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Array.
-
ArrayObjectThe ArrayObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Array.
-
ArrayRefThe ArrayRef type constraint is provided by the Types::Standard library. Please see that documentation.
-
BoolThe Bool type constraint is provided by the Types::Standard library. Please see that documentation.
-
ClassNameThe ClassName type constraint is provided by the Types::Standard library. Please see that documentation.
-
CodeObjThe CodeObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Code.
-
CodeObjectThe CodeObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Code.
-
CodeRefThe CodeRef type constraint is provided by the Types::Standard library. Please see that documentation.
-
ConsumerOfThe ConsumerOf type constraint is provided by the Types::Standard library. Please see that documentation.
-
DefinedThe Defined type constraint is provided by the Types::Standard library. Please see that documentation.
-
DictThe Dict type constraint is provided by the Types::Standard library. Please see that documentation.
-
EnumThe Enum type constraint is provided by the Types::Standard library. Please see that documentation.
-
FileHandleThe FileHandle type constraint is provided by the Types::Standard library. Please see that documentation.
-
FloatObjThe FloatObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Float.
-
FloatObjectThe FloatObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Float.
-
GlobRefThe GlobRef type constraint is provided by the Types::Standard library. Please see that documentation.
-
HasMethodsThe HasMethods type constraint is provided by the Types::Standard library. Please see that documentation.
-
HashObjThe HashObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Hash.
-
HashObjectThe HashObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Hash.
-
HashRefThe HashRef type constraint is provided by the Types::Standard library. Please see that documentation.
-
InstanceOfThe InstanceOf type constraint is provided by the Types::Standard library. Please see that documentation.
-
IntThe Int type constraint is provided by the Types::Standard library. Please see that documentation.
-
IntObjThe IntObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Integer.
-
IntObjectThe IntObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Integer.
-
IntegerObjThe IntegerObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Integer.
-
IntegerObjectThe IntegerObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Integer.
-
ItemThe Item type constraint is provided by the Types::Standard library. Please see that documentation.
-
LaxNumThe LaxNum type constraint is provided by the Types::Standard library. Please see that documentation.
-
LowerCaseSimpleStrThe LowerCaseSimpleStr type constraint is provided by the Types::Common::String library. Please see that documentation.
-
LowerCaseStrThe LowerCaseStr type constraint is provided by the Types::Common::String library. Please see that documentation.
-
MapThe Map type constraint is provided by the Types::Standard library. Please see that documentation.
-
MaybeThe Maybe type constraint is provided by the Types::Standard library. Please see that documentation.
-
NegativeIntThe NegativeInt type constraint is provided by the Types::Common::Numeric library. Please see that documentation.
-
NegativeNumThe NegativeNum type constraint is provided by the Types::Common::Numeric library. Please see that documentation.
-
NegativeOrZeroIntThe NegativeOrZeroInt type constraint is provided by the Types::Common::Numeric library. Please see that documentation.
-
NegativeOrZeroNumThe NegativeOrZeroNum type constraint is provided by the Types::Common::Numeric library. Please see that documentation.
-
NonEmptySimpleStrThe NonEmptySimpleStr type constraint is provided by the Types::Common::String library. Please see that documentation.
-
NonEmptyStrThe NonEmptyStr type constraint is provided by the Types::Standard library. Please see that documentation.
-
NumThe Num type constraint is provided by the Types::Standard library. Please see that documentation.
-
NumObjThe NumObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Number.
-
NumObjectThe NumObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Number.
-
NumberObjThe NumberObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Number.
-
NumberObjectThe NumberObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Number.
-
NumericCodeThe NumericCode type constraint is provided by the Types::Common::String library. Please see that documentation.
-
ObjectThe Object type constraint is provided by the Types::Standard library. Please see that documentation.
-
OptListThe OptList type constraint is provided by the Types::Standard library. Please see that documentation.
-
OptionalThe Optional type constraint is provided by the Types::Standard library. Please see that documentation.
-
OverloadThe Overload type constraint is provided by the Types::Standard library. Please see that documentation.
-
PasswordThe Password type constraint is provided by the Types::Standard library. Please see that documentation.
-
PositiveIntThe PositiveInt type constraint is provided by the Types::Common::Numeric library. Please see that documentation.
-
PositiveNumThe PositiveNum type constraint is provided by the Types::Common::Numeric library. Please see that documentation.
-
PositiveOrZeroIntThe PositiveOrZeroInt type constraint is provided by the Types::Common::Numeric library. Please see that documentation.
-
PositiveOrZeroNumThe PositiveOrZeroNum type constraint is provided by the Types::Common::Numeric library. Please see that documentation.
-
RefThe Ref type constraint is provided by the Types::Standard library. Please see that documentation.
-
RegexpObjThe RegexpObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Regexp.
-
RegexpObjectThe RegexpObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Regexp.
-
RegexpRefThe RegexpRef type constraint is provided by the Types::Standard library. Please see that documentation.
-
RoleNameThe RoleName type constraint is provided by the Types::Standard library. Please see that documentation.
-
ScalarObjThe ScalarObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Scalar.
-
ScalarObjectThe ScalarObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Scalar.
-
ScalarRefThe ScalarRef type constraint is provided by the Types::Standard library. Please see that documentation.
-
SimpleStrThe SimpleStr type constraint is provided by the Types::Common::String library. Please see that documentation.
-
SingleDigitThe SingleDigit type constraint is provided by the Types::Common::Numeric library. Please see that documentation.
-
StrThe Str type constraint is provided by the Types::Standard library. Please see that documentation.
-
StrMatchThe StrMatch type constraint is provided by the Types::Standard library. Please see that documentation.
-
StrObjThe StrObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::String.
-
StrObjectThe StrObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::String.
-
StrictNumThe StrictNum type constraint is provided by the Types::Standard library. Please see that documentation.
-
StringObjThe StringObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::String.
-
StringObjectThe StringObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::String.
-
StrongPasswordThe StrongPassword type constraint is provided by the Types::Common::String library. Please see that documentation.
-
TiedThe Tied type constraint is provided by the Types::Standard library. Please see that documentation.
-
TupleThe Tuple type constraint is provided by the Types::Standard library. Please see that documentation.
-
UndefThe Undef type constraint is provided by the Types::Standard library. Please see that documentation.
-
UndefObjThe UndefObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Undef.
-
UndefObjectThe UndefObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Undef.
-
UniversalObjThe UniversalObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Universal.
-
UniversalObjectThe UniversalObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Universal.
-
UpperCaseSimpleStrThe UpperCaseSimpleStr type constraint is provided by the Types::Common::String library. Please see that documentation.
-
UpperCaseStrThe UpperCaseStr type constraint is provided by the Types::Common::String library. Please see that documentation.
-
ValueThe Value type constraint is provided by the Types::Standard library. Please see that documentation.
AUTHOR
Al Newkirk anewkirk@ana.io
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Al Newkirk.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.