Data::Transpose::Validator::Set - Validate a string inside a set of values
Constructor to set the list in which the value to be validated must be present.
The validator. Returns a true value if the value (or the values) passed are all present in the set. Multiple values validate only if the multiple option is set in the constructor. It also accept an arrayref as single argument, if the multiple option is set.
multiple
Accessor to the multiple option
Accessor to the list of values, as an hash.
To install Data::Transpose, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::Transpose
CPAN shell
perl -MCPAN -e shell install Data::Transpose
For more information on module installation, please visit the detailed CPAN module installation guide.