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::In - In constraint

SYNOPSIS

    $validator->field('order')->in(1, 2, 3);

DESCRIPTION

Checks whether the value contains in the array provided.

METHODS

is_valid

Validates the constraint.

SEE ALSO

Input::Validator, Input::Constraint