MojoX::Validator::ConstraintBuilder - Constraint factory
$field->constraint(length => [1, 2]);
A factory class for constraints. Build a new object.
build
MojoX::Validator::ConstraintBuilder->build('length' => [1, 3]);
Build a new constraint object passing all additional parameters.
To install MojoX::Validator, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MojoX::Validator
CPAN shell
perl -MCPAN -e shell install MojoX::Validator
For more information on module installation, please visit the detailed CPAN module installation guide.