naturalist/Validate--Tiny — Issue #3: More anonymous subroutines shortcuts
Author: koorchik
Created: 2012-01-10 11:03:57+00:00
State: open

Validate::Tiny has next shortcuts for anonymous subroutines: is_required, is_equal, is_long_between, is_long_at_least, is_long_at_most. It will be very nice to have two more:
1. looks_like($re, $error_msg); - checks field value with regexp
2. is_in(\@array, $error_msg); - checks that field value is in passed array