Input::Validator::Group - Run constraint on group of fields
$validator->group('passwords' => [qw/password confirm_password/])->equal;
Run constraint on group of fields.
error
my $error = $group->error;
Holds group's error message.
name
$group->name('foo'); my $name = $group->name;
Group name.
equal
Shortcut
$group->constraint(equal => @_);
constraint
Adds constraint to the group.
is_valid
Checks whether group's constraints are valid.
unique
To install Input::Validator, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Input::Validator
CPAN shell
perl -MCPAN -e shell install Input::Validator
For more information on module installation, please visit the detailed CPAN module installation guide.