Man Page: cgi::validop::check::demographics
Operating Environment: debian
Section: 3pm
CGI::ValidOp::Check::demographics(3pm) User Contributed Perl Documentation CGI::ValidOp::Check::demographics(3pm)NAMECGI::ValidOp::Check::demographics - CGI::ValidOp::Check module to validate various demographics.DESCRIPTIONdefault Should die. us_state2 Passes if value is a valid United States 2-letter abbreviation, as determined by the USPS: http://www.usps.com/ncsc/lookups/usps_abbreviations.html. us_ssn($constraint) Passes if value is a 9-digit integer with optional dashes (e.g. 123-45-6789). If $constraint is "integer" the dashes are stripped: # given CGI variable 'ssn' equal to '123-45-6789' $ssn = $cgi->param( 'ssn', [ 'demographics::ssn' ]); # eq '123-45-6789' $ssn = $cgi->param( 'ssn', [ 'demographics::ssn(integer)' ]); # eq '123456789'AUTHORRandall Hansen <legless@cpan.org>COPYRIGHTCopyright (c) 2003-2005 Randall Hansen. All rights reserved. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself. See http://www.perl.com/perl/misc/Artistic.html perl v5.10.1 2009-11-30 CGI::ValidOp::Check::demographics(3pm)
| Related Man Pages |
|---|
| cgi::application::plugin::devpopup::log(3pm) - debian |
| cgi::validop(3pm) - debian |
| cgi::validop::check(3pm) - debian |
| cgi::xml(3pm) - debian |
| mojo::server::cgi(3pm) - debian |
| Similar Topics in the Unix Linux Community |
|---|
| awk or sed - Convert 2 lines to 1 line |
| Is UNIX an open source OS ? |
| Detecting unused variables... |
| Weird 'find' results |
| New UNIX and Linux History Sections |