Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Input::Validator::GrouUser Contributed Perl DocumentInput::Validator::Group(3)

NAME
       Input::Validator::Group - Run constraint	on group of fields

SYNOPSIS
	   $validator->group('passwords' => [qw/password confirm_password/])->equal;

DESCRIPTION
	   Run constraint on group of fields.

ATTRIBUTES
   "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"
	   $group->constraint(equal => @_);

       Adds constraint to the group.

   "is_valid"
       Checks whether group's constraints are valid.

   "unique"
	   $group->constraint(equal => @_);

METHODS
perl v5.32.0			  2011-05-05	    Input::Validator::Group(3)

NAME | SYNOPSIS | DESCRIPTION | ATTRIBUTES | METHODS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Input::Validator::Group&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help