MojoX::Validator::Constraint - Basic condition class
Used internally.
Basic class for constraints. Subclass it to write new conditions.
args
Holds args that are passed to the constraint.
error
Holds constraint's error message.
is_valid
Checks whether constraint is valid.
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.