FormValidator-Tiny
view release on metacpan or search on metacpan
lib/FormValidator/Tiny.pm view on Meta::CPAN
the value must be exactly equal to another field in the input.
=head2 number_in_range
must => number_in_range('*', 100)
must => number_in_range(100, '*')
must => number_in_range(100, 500)
must => number_in_range(exclusive => 100, exclusive => 500)
Returns a predicate for must that requires the integer to be within the given
range. The endpoints are inclusive by default. You can add the word "exclusive"
before a value to make the comparison exclusive instead. Using a '*' indicates
no limit at that end of the range.
=head2 one_of
must => one_of(qw( a b c )),
Returns a predicate that requires the value to exactly match one of the
enumerated values.
( run in 1.520 second using v1.01-cache-2.11-cpan-2b1a40005be )