Input::Validator::Bulk - Internal object for multiple fields processing
$validator->field(qw/foo bar/)->each(sub { shift->required(1) });
Bulk object. Holds multiple fields that were created by Input::Validator.
each
$bulk->each(sub { shift->required(1) });
Every field is passed to this callback as the first parameter.
Input::Validator
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.