Вячеслав Тихановский > Input-Validator-0.001005 > Input::Validator::ConstraintBuilder

Download:
Input-Validator-0.001005.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Input::Validator::ConstraintBuilder - Constraint factory

SYNOPSIS ^

    $field->constraint(length => [1, 2]);

DESCRIPTION ^

A factory class for constraints. Build a new object.

METHODS ^

build

    Input::Validator::ConstraintBuilder->build('length' => [1, 3]);

Build a new constraint object passing all additional parameters.

syntax highlighting: