NAME

Input::Validator::Constraint - Basic condition class

SYNOPSIS

Used internally.

DESCRIPTION

Basic class for constraints. Subclass it to write new conditions.

ATTRIBUTES

args

Holds args that are passed to the constraint.

error

Holds constraint's error message.

METHODS

is_valid

Checks whether constraint is valid.