Simon Cozens > Form-Maker > Form::Validator::USState

Download:
Form-Maker-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

Form::Validator::USState - Canned validator for US State abbreviations

SYNOPSIS ^

    $form->add_validation(username => 'Form::Validator::USState');

DESCRIPTION ^

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.

syntax highlighting: