The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.