Data::Object::Library - Data::Object Type Library for Perl 5
version 0.05
use Data::Object::Library;
Data::Object::Library is a Type::Tiny library that extends the Types::Standard, Types::Common::Numeric, and Types::Common::String libraries and adds type constraints and coercions for Data::Object objects.
The Any type constraint is provided by the Types::Standard library. Please see that documentation for more information.
The AnyObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Universal object.
The AnyObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Universal object.
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 ArrayObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Array object.
The ArrayRef type constraint is provided by the Types::Standard library. Please see that documentation for more information.
The Bool type constraint is provided by the Types::Standard library. Please see that documentation for more information.
The ClassName type constraint is provided by the Types::Standard library. Please see that documentation for more information.
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 CodeObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Code object.
The CodeRef type constraint is provided by the Types::Standard library. Please see that documentation for more information.
The ConsumerOf type constraint is provided by the Types::Standard library. Please see that documentation for more information.
The Defined type constraint is provided by the Types::Standard library. Please see that documentation for more information.
The Dict type constraint is provided by the Types::Standard library. Please see that documentation for more information.
The Enum type constraint is provided by the Types::Standard library. Please see that documentation for more information.
The FileHandle type constraint is provided by the Types::Standard library. Please see that documentation for more information.
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 FloatObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Float object.
The GlobRef type constraint is provided by the Types::Standard library. Please see that documentation for more information.
The HasMethods type constraint is provided by the Types::Standard library. Please see that documentation for more information.
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 HashObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Hash object.
The HashRef type constraint is provided by the Types::Standard library. Please see that documentation for more information.
The InstanceOf type constraint is provided by the Types::Standard library. Please see that documentation for more information.
The Int type constraint is provided by the Types::Standard library. Please see that documentation for more information.
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 IntObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Integer object.
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 IntegerObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Integer object.
The Item type constraint is provided by the Types::Standard library. Please see that documentation for more information.
The LaxNum type constraint is provided by the Types::Standard library. Please see that documentation for more information.
The LowerCaseSimpleStr type constraint is provided by the Types::Common::String library. Please see that documentation for more information.
The LowerCaseStr type constraint is provided by the Types::Common::String library. Please see that documentation for more information.
The Map type constraint is provided by the Types::Standard library. Please see that documentation for more information.
The Maybe type constraint is provided by the Types::Standard library. Please see that documentation for more information.
The NegativeInt type constraint is provided by the Types::Common::Numeric library. Please see that documentation for more information.
The NegativeNum type constraint is provided by the Types::Common::Numeric library. Please see that documentation for more information.
The NegativeOrZeroInt type constraint is provided by the Types::Common::Numeric library. Please see that documentation for more information.
The NegativeOrZeroNum type constraint is provided by the Types::Common::Numeric library. Please see that documentation for more information.
The NonEmptySimpleStr type constraint is provided by the Types::Common::String library. Please see that documentation for more information.
The NonEmptyStr type constraint is provided by the Types::Standard library. Please see that documentation for more information.
The Num type constraint is provided by the Types::Standard library. Please see that documentation for more information.
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 NumObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Number object.
The NumberObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Number object.
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 NumericCode type constraint is provided by the Types::Common::String library. Please see that documentation for more information.
The Object type constraint is provided by the Types::Standard library. Please see that documentation for more information.
The OptList type constraint is provided by the Types::Standard library. Please see that documentation for more information.
The Optional type constraint is provided by the Types::Standard library. Please see that documentation for more information.
The Overload type constraint is provided by the Types::Standard library. Please see that documentation for more information.
The Password type constraint is provided by the Types::Standard library. Please see that documentation for more information.
The PositiveInt type constraint is provided by the Types::Common::Numeric library. Please see that documentation for more information.
The PositiveNum type constraint is provided by the Types::Common::Numeric library. Please see that documentation for more information.
The PositiveOrZeroInt type constraint is provided by the Types::Common::Numeric library. Please see that documentation for more information.
The PositiveOrZeroNum type constraint is provided by the Types::Common::Numeric library. Please see that documentation for more information.
The Ref type constraint is provided by the Types::Standard library. Please see that documentation for more information.
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 RegexpObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Regexp object.
The RegexpRef type constraint is provided by the Types::Standard library. Please see that documentation for more information.
The RoleName type constraint is provided by the Types::Standard library. Please see that documentation for more information.
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 ScalarObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Scalar object.
The ScalarRef type constraint is provided by the Types::Standard library. Please see that documentation for more information.
The SimpleStr type constraint is provided by the Types::Common::String library. Please see that documentation for more information.
The SingleDigit type constraint is provided by the Types::Common::Numeric library. Please see that documentation for more information.
The Str type constraint is provided by the Types::Standard library. Please see that documentation for more information.
The StrMatch type constraint is provided by the Types::Standard library. Please see that documentation for more information.
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 StrObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::String object.
The StrictNum type constraint is provided by the Types::Standard library. Please see that documentation for more information.
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 StringObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::String object.
The StrongPassword type constraint is provided by the Types::Common::String library. Please see that documentation for more information.
The Tied type constraint is provided by the Types::Standard library. Please see that documentation for more information.
The Tuple type constraint is provided by the Types::Standard library. Please see that documentation for more information.
The Undef type constraint is provided by the Types::Standard library. Please see that documentation for more information.
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 UndefObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Undef object.
The UniversalObj type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Universal object.
The UniversalObject type constraint is provided by this library and accepts any object that is, or is derived from, a Data::Object::Universal object.
The UpperCaseSimpleStr type constraint is provided by the Types::Common::String library. Please see that documentation for more information.
The UpperCaseStr type constraint is provided by the Types::Common::String library. Please see that documentation for more information.
The Value type constraint is provided by the Types::Standard library. Please see that documentation for more information.
Al Newkirk <anewkirk@ana.io>
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.
To install Data::Object::Library, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Object::Library
CPAN shell
perl -MCPAN -e shell install Data::Object::Library
For more information on module installation, please visit the detailed CPAN module installation guide.