Perl x Open Food Facts Hackathon: Paris, France - May 24-25 Learn more

NAME

Syccess::Validator::In - A validator to check if a value is inside of a list of values

VERSION

version 0.104

SYNOPSIS

Syccess->new(
fields => [
foo => [ in => [qw( a b c )] ],
],
);

DESCRIPTION

This validator allows to define a specific list of values which are valid. They are given as ArrayRef.

ATTRIBUTES

message

This contains the error message or the format for the error message generation. See "validator_message" in Syccess::Error.

SUPPORT

IRC

Join irc.perl.org and msg Getty

Repository

Pull request and additional contributors are welcome

Issue Tracker

AUTHOR

Torsten Raudssus <torsten@raudss.us>

COPYRIGHT AND LICENSE

This software is copyright (c) 2017 by Torsten Raudssus.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.