The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Input::Validator::Constraint::Subset - Subset constraint

SYNOPSIS

    $validator->field('tags')->constraint(subset => [qw/foo bar baz/]);

DESCRIPTION

Checks whether the value is a subset of the provided array reference values.

METHODS

is_valid

Validates the constraint.

SEE ALSO

Input::Validator, Input::Constraint