NAME
Data::Object::Library
ABSTRACT
Data-Object Type Library
SYNOPSIS
use Data::Object::Library;
DESCRIPTION
This package provides a type library derived from Type::Library which extends the Types::Standard, Types::Common::Numeric, and Types::Common::String libraries, and adds additional type constraints.
TYPES
This package can export the following type constraints.
Any
# Any
The Any type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_Any
function can be used to throw an exception is the argument can not be validated. The is_Any
function can be used to return true or false if the argument can not be validated.
AnyObj
# AnyObj
The AnyObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Any object. The assert_AnyObj
function can be used to throw an exception if the argument can not be validated. The is_AnyObj
function can be used to return true or false if the argument can not be validated.
AnyObject
# AnyObject
The AnyObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Any object. The assert_AnyObject
function can be used to throw an exception if the argument can not be validated. The is_AnyObject
function can be used to return true or false if the argument can not be validated.
ArrayLike
# ArrayLike
The ArrayLike type constraint is provided by the Types::TypeTiny library. Please see that documentation for more information. The assert_ArrayLike
function can be used to throw an exception if the argument can not be validated. The is_ArrayLike
function can be used to return true or false if the argument can not be validated.
ArrayObj
# ArrayObj
The ArrayObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Array object. The assert_ArrayObj
function can be used to throw an exception if the argument can not be validated. The is_ArrayObj
function can be used to return true or false if the argument can not be validated.
ArrayObject
# ArrayObject
The ArrayObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Array object. The assert_ArrayObject
function can be used to throw an exception if the argument can not be validated. The is_ArrayObject
function can be used to return true or false if the argument can not be validated.
ArrayRef
# ArrayRef
The ArrayRef type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_ArrayRef
function can be used to throw an exception if the argument can not be validated. The is_ArrayRef
function can be used to return true or false if the argument can not be validated.
Bool
# Bool
The Bool type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_Bool
function can be used to throw an exception if the argument can not be validated. The is_Bool
function can be used to return true or false if the argument can not be validated.
ClassName
# ClassName["MyClass"]
The ClassName type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_ClassName
function can be used to throw an exception if the argument can not be validated. The is_ClassName
function can be used to return true or false if the argument can not be validated.
CodeLike
# CodeLike
The CodeLike type constraint is provided by the Types::TypeTiny library. Please see that documentation for more information. The assert_CodeLike
function can be used to throw an exception if the argument can not be validated. The is_CodeLike
function can be used to return true or false if the argument can not be validated.
CodeObj
# CodeObj
The CodeObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Code object. The assert_CodeObj
function can be used to throw an exception if the argument can not be validated. The is_CodeObj
function can be used to return true or false if the argument can not be validated.
CodeObject
# CodeObject
The CodeObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Code object. The assert_CodeObject
function can be used to throw an exception if the argument can not be validated. The is_CodeObject
function can be used to return true or false if the argument can not be validated.
CodeRef
# CodeRef
The CodeRef type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_CodeRef
function can be used to throw an exception if the argument can not be validated. The is_CodeRef
function can be used to return true or false if the argument can not be validated.
ConsumerOf
# ConsumerOf["MyRole"]
The ConsumerOf type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_ConsumerOf
function can be used to throw an exception if the argument can not be validated. The is_ConsumerOf
function can be used to return true or false if the argument can not be validated.
DataObj
# DataObj
The DataObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Data object. The assert_DataObj
function can be used to throw an exception if the argument can not be validated. The is_DataObj
function can be used to return true or false if the argument can not be validated.
DataObject
# DataObject
The DataObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Data object. The assert_DataObject
function can be used to throw an exception if the argument can not be validated. The is_DataObject
function can be used to return true or false if the argument can not be validated.
Defined
# Defined
The Defined type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_Defined
function can be used to throw an exception if the argument can not be validated. The is_Defined
function can be used to return true or false if the argument can not be validated.
Dict
# Dict
The Dict type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_Dict
function can be used to throw an exception if the argument can not be validated. The is_Dict
function can be used to return true or false if the argument can not be validated.
Enum
# Enum[qw(A B C)]
The Enum type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_Enum
function can be used to throw an exception if the argument can not be validated. The is_Enum
function can be used to return true or false if the argument can not be validated.
ExceptionObj
# ExceptionObj
The ExceptionObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Exception object. The assert_ExceptionObj
function can be used to throw an exception if the argument can not be validated. The is_ExceptionObj
function can be used to return true or false if the argument can not be validated.
ExceptionObject
# ExceptionObject
The ExceptionObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Exception object. The assert_ExceptionObject
function can be used to throw an exception if the argument can not be validated. The is_ExceptionObject
function can be used to return true or false if the argument can not be validated.
FileHandle
# FileHandle
The FileHandle type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_FileHandle
function can be used to throw an exception if the argument can not be validated. The is_FileHandle
function can be used to return true or false if the argument can not be validated.
FloatObj
# FloatObj
The FloatObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Float object. The assert_FloatObj
function can be used to throw an exception if the argument can not be validated. The is_FloatObj
function can be used to return true or false if the argument can not be validated.
FloatObject
# FloatObject
The FloatObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Float object. The assert_FloatObject
function can be used to throw an exception if the argument can not be validated. The is_FloatObject
function can be used to return true or false if the argument can not be validated.
FuncObj
# FuncObj
The FuncObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Func object. The assert_FuncObj
function can be used to throw an exception if the argument can not be validated. The is_FuncObj
function can be used to return true or false if the argument can not be validated.
FuncObject
# FuncObject
The FuncObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Func object. The assert_FuncObject
function can be used to throw an exception if the argument can not be validated. The is_FuncObject
function can be used to return true or false if the argument can not be validated.
GlobRef
# GlobRef
The GlobRef type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_GlobRef
function can be used to throw an exception if the argument can not be validated. The is_GlobRef
function can be used to return true or false if the argument can not be validated.
HasMethods
# HasMethods["new"]
The HasMethods type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_HasMethods
function can be used to throw an exception if the argument can not be validated. The is_HasMethods
function can be used to return true or false if the argument can not be validated.
HashLike
# HashLike
The HashLike type constraint is provided by the Types::TypeTiny library. Please see that documentation for more information. The assert_HashLike
function can be used to throw an exception if the argument can not be validated. The is_HashLike
function can be used to return true or false if the argument can not be validated.
HashObj
# HashObj
The HashObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Hash object. The assert_HashObj
function can be used to throw an exception if the argument can not be validated. The is_HashObj
function can be used to return true or false if the argument can not be validated.
HashObject
# HashObject
The HashObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Hash object. The assert_HashObject
function can be used to throw an exception if the argument can not be validated. The is_HashObject
function can be used to return true or false if the argument can not be validated.
HashRef
# HashRef
The HashRef type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_HashRef
function can be used to throw an exception if the argument can not be validated. The is_HashRef
function can be used to return true or false if the argument can not be validated.
InstanceOf
# InstanceOf[MyClass]
The InstanceOf type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_InstanceOf
function can be used to throw an exception if the argument can not be validated. The is_InstanceOf
function can be used to return true or false if the argument can not be validated.
Int
# Int
The Int type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_Int
function can be used to throw an exception if the argument can not be validated. The is_Int
function can be used to return true or false if the argument can not be validated.
IntObj
# IntObj
The IntObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Integer object. The assert_IntObj
function can be used to throw an exception if the argument can not be validated. The is_IntObj
function can be used to return true or false if the argument can not be validated.
IntObject
# IntObject
The IntObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Integer object. The assert_IntObject
function can be used to throw an exception if the argument can not be validated. The is_IntObject
function can be used to return true or false if the argument can not be validated.
IntRange
# IntRange[0, 25]
The IntRange type constraint is provided by the Types::TypeTiny library. Please see that documentation for more information. The assert_IntRange
function can be used to throw an exception if the argument can not be validated. The is_IntRange
function can be used to return true or false if the argument can not be validated.
IntegerObj
# IntegerObj
The IntegerObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Integer object. The assert_IntegerObj
function can be used to throw an exception if the argument can not be validated. The is_IntegerObj
function can be used to return true or false if the argument can not be validated.
IntegerObject
# IntegerObject
The IntegerObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Integer object. The assert_IntegerObject
function can be used to throw an exception if the argument can not be validated. The is_IntegerObject
function can be used to return true or false if the argument can not be validated.
Item
# Item
The Item type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_Item
function can be used to throw an exception if the argument can not be validated. The is_Item
function can be used to return true or false if the argument can not be validated.
LaxNum
# LaxNum
The LaxNum type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_LaxNum
function can be used to throw an exception if the argument can not be validated. The is_LaxNum
function can be used to return true or false if the argument can not be validated.
LowerCaseSimpleStr
# LowerCaseSimpleStr
The LowerCaseSimpleStr type constraint is provided by the Types::Common::String library. Please see that documentation for more The assert_LowerCaseSimpleStr
function can be used to throw an exception if the argument can not be validated. The is_LowerCaseSimpleStr
function can be used to return true or false if the argument can not be validated. information.
LowerCaseStr
# LowerCaseStr
The LowerCaseStr type constraint is provided by the Types::Common::String library. Please see that documentation for more information. The assert_type
function can be used to throw an exception if the argument can not be validated. The is_type
function can be used to return true or false if the argument can not be validated.
Map
# Map[Int, HashRef]
The Map type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_Map
function can be used to throw an exception if the argument can not be validated. The is_Map
function can be used to return true or false if the argument can not be validated.
Maybe
# Maybe[Object]
The Maybe type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_Maybe
function can be used to throw an exception if the argument can not be validated. The is_Maybe
function can be used to return true or false if the argument can not be validated.
NegativeInt
# NegativeInt
The NegativeInt type constraint is provided by the Types::Common::Numeric library. Please see that documentation for more information. The assert_NegativeInt
function can be used to throw an exception if the argument can not be validated. The is_NegativeInt
function can be used to return true or false if the argument can not be validated.
NegativeNum
# NegativeNum
The NegativeNum type constraint is provided by the Types::Common::Numeric library. Please see that documentation for more information. The assert_NegativeNum
function can be used to throw an exception if the argument can not be validated. The is_NegativeNum
function can be used to return true or false if the argument can not be validated.
NegativeOrZeroInt
# NegativeOrZeroInt
The NegativeOrZeroInt type constraint is provided by the Types::Common::Numeric library. Please see that documentation for more The assert_NegativeOrZeroInt
function can be used to throw an exception if the argument can not be validated. The is_NegativeOrZeroInt
function can be used to return true or false if the argument can not be validated. information.
NegativeOrZeroNum
# NegativeOrZeroNum
The NegativeOrZeroNum type constraint is provided by the Types::Common::Numeric library. Please see that documentation for more The assert_type
function can be used to throw an exception if the argument can not be validated. The is_type
function can be used to return true or false if the argument can not be validated. information.
NonEmptySimpleStr
# NonEmptySimpleStr
The NonEmptySimpleStr type constraint is provided by the Types::Common::String library. Please see that documentation for more The assert_type
function can be used to throw an exception if the argument can not be validated. The is_type
function can be used to return true or false if the argument can not be validated. information.
NonEmptyStr
# NonEmptyStr
The NonEmptyStr type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_type
function can be used to throw an exception if the argument can not be validated. The is_type
function can be used to return true or false if the argument can not be validated.
Num
# Num
The Num type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_Num
function can be used to throw an exception if the argument can not be validated. The is_Num
function can be used to return true or false if the argument can not be validated.
NumObj
# NumObj
The NumObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Number object. The assert_NumObj
function can be used to throw an exception if the argument can not be validated. The is_NumObj
function can be used to return true or false if the argument can not be validated.
NumObject
# NumObject
The NumObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Number object. The assert_NumObject
function can be used to throw an exception if the argument can not be validated. The is_NumObject
function can be used to return true or false if the argument can not be validated.
NumRange
# NumRange[0, 25]
The NumRange type constraint is provided by the Types::TypeTiny library. Please see that documentation for more information. The assert_NumRange
function can be used to throw an exception if the argument can not be validated. The is_NumRange
function can be used to return true or false if the argument can not be validated.
NumberObject
# NumberObject
The NumberObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Number object. The assert_NumberObject
function can be used to throw an exception if the argument can not be validated. The is_NumberObject
function can be used to return true or false if the argument can not be validated.
NumericCode
# NumericCode
The NumericCode type constraint is provided by the Types::Common::String library. Please see that documentation for more information. The assert_NumericCode
function can be used to throw an exception if the argument can not be validated. The is_NumericCode
function can be used to return true or false if the argument can not be validated.
Object
# Object
The Object type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_Object
function can be used to throw an exception if the argument can not be validated. The is_Object
function can be used to return true or false if the argument can not be validated.
OptList
# OptList
The OptList type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_OptList
function can be used to throw an exception if the argument can not be validated. The is_OptList
function can be used to return true or false if the argument can not be validated.
Optional
# Dict[id => Optional[Int]]
The Optional type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_Optional
function can be used to throw an exception if the argument can not be validated. The is_Optional
function can be used to return true or false if the argument can not be validated.
Overload
# Overload[qw("")]
The Overload type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_Overload
function can be used to throw an exception if the argument can not be validated. The is_Overload
function can be used to return true or false if the argument can not be validated.
Password
# Password
The Password type constraint is provided by the Types::Common::String library. Please see that documentation for more information. The assert_Password
function can be used to throw an exception if the argument can not be validated. The is_Password
function can be used to return true or false if the argument can not be validated.
PositiveInt
# PositiveInt
The PositiveInt type constraint is provided by the Types::Common::Numeric library. Please see that documentation for more information. The assert_PositiveInt
function can be used to throw an exception if the argument can not be validated. The is_PositiveInt
function can be used to return true or false if the argument can not be validated.
PositiveNum
# PositiveNum
The PositiveNum type constraint is provided by the Types::Common::Numeric library. Please see that documentation for more information. The assert_PositiveNum
function can be used to throw an exception if the argument can not be validated. The is_PositiveNum
function can be used to return true or false if the argument can not be validated.
PositiveOrZeroInt
# PositiveOrZeroInt
The PositiveOrZeroInt type constraint is provided by the Types::Common::Numeric library. Please see that documentation for more The assert_PositiveOrZeroInt
function can be used to throw an exception if the argument can not be validated. The is_PositiveOrZeroInt
function can be used to return true or false if the argument can not be validated. information.
PositiveOrZeroNum
# PositiveOrZeroNum
The PositiveOrZeroNum type constraint is provided by the Types::Common::Numeric library. Please see that documentation for more The assert_type
function can be used to throw an exception if the argument can not be validated. The is_type
function can be used to return true or false if the argument can not be validated. information.
Ref
# Ref["SCALAR"]
The Ref type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_type
function can be used to throw an exception if the argument can not be validated. The is_type
function can be used to return true or false if the argument can not be validated.
RegexpObj
# RegexpObj
The RegexpObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Regexp object. The assert_RegexpObj
function can be used to throw an exception if the argument can not be validated. The is_RegexpObj
function can be used to return true or false if the argument can not be validated.
RegexpObject
# RegexpObject
The RegexpObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Regexp object. The assert_RegexpObject
function can be used to throw an exception if the argument can not be validated. The is_RegexpObject
function can be used to return true or false if the argument can not be validated.
RegexpRef
# RegexpRef
The RegexpRef type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_RegexpRef
function can be used to throw an exception if the argument can not be validated. The is_RegexpRef
function can be used to return true or false if the argument can not be validated.
ReplaceObj
# ReplaceObj
The ReplaceObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Replace object. The assert_ReplaceObj
function can be used to throw an exception if the argument can not be validated. The is_ReplaceObj
function can be used to return true or false if the argument can not be validated.
ReplaceObject
# ReplaceObject
The ReplaceObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Replace object. The assert_ReplaceObject
function can be used to throw an exception if the argument can not be validated. The is_ReplaceObject
function can be used to return true or false if the argument can not be validated.
RoleName
# RoleName
The RoleName type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_RoleName
function can be used to throw an exception if the argument can not be validated. The is_RoleName
function can be used to return true or false if the argument can not be validated.
ScalarObj
# ScalarObj
The ScalarObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Scalar object. The assert_ScalarObj
function can be used to throw an exception if the argument can not be validated. The is_ScalarObj
function can be used to return true or false if the argument can not be validated.
ScalarObject
# ScalarObject
The ScalarObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Scalar object. The assert_ScalarObject
function can be used to throw an exception if the argument can not be validated. The is_ScalarObject
function can be used to return true or false if the argument can not be validated.
ScalarRef
# ScalarRef
The ScalarRef type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_ScalarRef
function can be used to throw an exception if the argument can not be validated. The is_ScalarRef
function can be used to return true or false if the argument can not be validated.
SearchObj
# SearchObj
The SearchObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Search object. The assert_SearchObj
function can be used to throw an exception if the argument can not be validated. The is_SearchObj
function can be used to return true or false if the argument can not be validated.
SearchObject
# SearchObject
The SearchObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Search object. The assert_SearchObject
function can be used to throw an exception if the argument can not be validated. The is_SearchObject
function can be used to return true or false if the argument can not be validated.
SimpleStr
# SimpleStr
The SimpleStr type constraint is provided by the Types::Common::String library. Please see that documentation for more information. The assert_SimpleStr
function can be used to throw an exception if the argument can not be validated. The is_SimpleStr
function can be used to return true or false if the argument can not be validated.
SingleDigit
# SingleDigit
The SingleDigit type constraint is provided by the Types::Common::Numeric library. Please see that documentation for more information. The assert_SingleDigit
function can be used to throw an exception if the argument can not be validated. The is_SingleDigit
function can be used to return true or false if the argument can not be validated.
SpaceObj
# SpaceObj
The SpaceObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Space object. The assert_SpaceObj
function can be used to throw an exception if the argument can not be validated. The is_SpaceObj
function can be used to return true or false if the argument can not be validated.
SpaceObject
# SpaceObject
The SpaceObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Space object. The assert_SpaceObject
function can be used to throw an exception if the argument can not be validated. The is_SpaceObject
function can be used to return true or false if the argument can not be validated.
Str
# Str
The Str type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_Str
function can be used to throw an exception if the argument can not be validated. The is_Str
function can be used to return true or false if the argument can not be validated.
StrMatch
# StrMatch[qr/^[A-Z]+$/]
The StrMatch type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_StrMatch
function can be used to throw an exception if the argument can not be validated. The is_StrMatch
function can be used to return true or false if the argument can not be validated.
StrObj
# StrObj
The StrObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::String object. The assert_StrObj
function can be used to throw an exception if the argument can not be validated. The is_StrObj
function can be used to return true or false if the argument can not be validated.
StrObject
# StrObject
The StrObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::String object. The assert_StrObject
function can be used to throw an exception if the argument can not be validated. The is_StrObject
function can be used to return true or false if the argument can not be validated.
StrictNum
# StrictNum
The StrictNum type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_StrictNum
function can be used to throw an exception if the argument can not be validated. The is_StrictNum
function can be used to return true or false if the argument can not be validated.
StringLike
# StringLike
The StringLike type constraint is provided by the Types::TypeTiny library. Please see that documentation for more information. The assert_StringLike
function can be used to throw an exception if the argument can not be validated. The is_StringLike
function can be used to return true or false if the argument can not be validated.
StringObj
# StringObj
The StringObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::String object. The assert_StringObj
function can be used to throw an exception if the argument can not be validated. The is_StringObj
function can be used to return true or false if the argument can not be validated.
StringObject
# StringObject
The StringObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::String object. The assert_StringObject
function can be used to throw an exception if the argument can not be validated. The is_StringObject
function can be used to return true or false if the argument can not be validated.
StrongPassword
# StrongPassword
The StrongPassword type constraint is provided by the Types::Common::String library. Please see that documentation for more information. The assert_StrongPassword
function can be used to throw an exception if the argument can not be validated. The is_StrongPassword
function can be used to return true or false if the argument can not be validated.
Tied
# Tied["MyClass"]
The Tied type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_Tied
function can be used to throw an exception if the argument can not be validated. The is_Tied
function can be used to return true or false if the argument can not be validated.
Tuple
# Tuple[Int, Str, Str]
The Tuple type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_Tuple
function can be used to throw an exception if the argument can not be validated. The is_Tuple
function can be used to return true or false if the argument can not be validated.
TypeTiny
# TypeTiny
The TypeTiny type constraint is provided by the Types::TypeTiny library. Please see that documentation for more information. The assert_TypeTiny
function can be used to throw an exception if the argument can not be validated. The is_TypeTiny
function can be used to return true or false if the argument can not be validated.
Undef
# Undef
The Undef type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_Undef
function can be used to throw an exception if the argument can not be validated. The is_Undef
function can be used to return true or false if the argument can not be validated.
UndefObj
# UndefObj
The UndefObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Undef object. The assert_UndefObj
function can be used to throw an exception if the argument can not be validated. The is_UndefObj
function can be used to return true or false if the argument can not be validated.
UndefObject
# UndefObject
The UndefObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Undef object. The assert_UndefObject
function can be used to throw an exception if the argument can not be validated. The is_UndefObject
function can be used to return true or false if the argument can not be validated.
UpperCaseSimpleStr
# UpperCaseSimpleStr
The UpperCaseSimpleStr type constraint is provided by the Types::Common::String library. Please see that documentation for more The assert_UpperCaseSimpleStr
function can be used to throw an exception if the argument can not be validated. The is_UpperCaseSimpleStr
function can be used to return true or false if the argument can not be validated. information.
UpperCaseStr
# UpperCaseStr
The UpperCaseStr type constraint is provided by the Types::Common::String library. Please see that documentation for more information. The assert_UpperCaseStr
function can be used to throw an exception if the argument can not be validated. The is_UpperCaseStr
function can be used to return true or false if the argument can not be validated.
Value
# Value
The Value type constraint is provided by the Types::Standard library. Please see that documentation for more information. The assert_Value
function can be used to throw an exception if the argument can not be validated. The is_Value
function can be used to return true or false if the argument can not be validated.
AUTHOR
Al Newkirk, awncorp@cpan.org
LICENSE
Copyright (C) 2011-2019, Al Newkirk, et al.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
PROJECT
SEE ALSO
To get the most out of this distribution, consider reading the following: