Form::Validator::USState - Canned validator for US State abbreviations
$form->add_validation(username => 'Form::Validator::USState');
Checks for a field containing precisely two letters, and further checks (in Perl-space) that these two letters are a valid abbreviation for a US state.
To install Form::Maker, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Form::Maker
CPAN shell
perl -MCPAN -e shell install Form::Maker
For more information on module installation, please visit the detailed CPAN module installation guide.