Declare::Constraints::Simple::Library - Constraint Library Bundle


NAME

Declare::Constraints::Simple::Library - Constraint Library Bundle


DESCRIPTION

This module functions as bundle of all default libraries, and as map and/or reference of said ones.


LIBRARIES

the Declare::Constraints::Simple::Library::General manpage

General constraints and constraint-like elements that affect the whole framework.

Provides: Message, Scope, SetResult, IsValid, ReturnTrue, ReturnFalse

the Declare::Constraints::Simple::Library::Scalar manpage

Constraints for scalar value validation.

Provides: Matches, IsDefined, HasLength, IsOneOf, IsTrue, IsEq

the Declare::Constraints::Simple::Library::Numerical manpage

These validate values by their numerical properties.

Provides: IsNumber, IsInt

the Declare::Constraints::Simple::Library::OO manpage

For validation of values in an object oriented manner.

Provides: IsA, IsClass, IsObject, HasMethods

the Declare::Constraints::Simple::Library::Referencial manpage

These can validate properties by their reference types.

Provides: IsRefType, IsScalarRef, IsArrayRef, IsHashRef, IsCodeRef, IsRegex

the Declare::Constraints::Simple::Library::Array manpage

These constraints deal with array references and their contents.

Provides: HasArraySize, OnArrayElements, OnEvenElements, OnOddElements

the Declare::Constraints::Simple::Library::Hash manpage

All constraints appliable to hash references as well as their keys and values.

Provides: HasAllKeys, OnHashKeys

the Declare::Constraints::Simple::Library::Operators manpage

Operators can be used in any place a constraint can be used, as their implementations are similar.

Provides: And, Or, XOr, Not, CaseValid


SEE ALSO

the Declare::Constraints::Simple manpage


AUTHOR

Robert 'phaylon' Sedlacek <phaylon@dunkelheit.at>


LICENSE AND COPYRIGHT

This module is free software, you can redistribute it and/or modify it under the same terms as perl itself.