Declare::Constraints::Simple::Library(3pm)

Declare::Constraints::Simple::Library3pm

Constraint library bundle

Overview

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

Libraries

Declare::Constraints::Simple::Library::General

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

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

Declare::Constraints::Simple::Library::Scalar

Constraints for scalar value validation.

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

Declare::Constraints::Simple::Library::Numerical

These validate values by their numerical properties.

Provides: "IsNumber", "IsInt"

Declare::Constraints::Simple::Library::OO

For validation of values in an object oriented manner.

Provides: "IsA", "IsClass", "IsObject", "HasMethods"

Declare::Constraints::Simple::Library::Referencial

These can validate properties by their reference types.

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

Declare::Constraints::Simple::Library::Array

These constraints deal with array references and their contents.

Provides: "HasArraySize", OnArrayElements, OnEvenElements, OnOddElements

Declare::Constraints::Simple::Library::Hash

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

Provides: "HasAllKeys", "OnHashKeys"

Declare::Constraints::Simple::Library::Operators

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

Provides: "And", "Or", "XOr", "Not", "CaseValid"

Releases

4 releases since Debian 10 (Buster); the text changed 1 time.

  1. 10
  2. 11–13

Author

Robert 'phaylon' Sedlacek "<[email protected]>"

From libdeclare-constraints-simple-perl 0.03-1.1 in Debian 13 (Trixie). Parsed by carta from the page's man source.