Gordon Rowell > CGI-FormMagick-0.89 > CGI::FormMagick::Validator::Business

Download:
CGI-FormMagick-0.89.tar.gz

Annotate this POD

CPAN RT

New  1
Open  0
Stalled  9
View/Report Bugs
Source  

NAME ^

CGI::FormMagick::Validator::Business - business-related validation routines

SYNOPSIS ^

use CGI::FormMagick;

DESCRIPTION ^

See CGI::FormMagick::Validator for a general description.

Validation routines provided:

credit_card_number

The data looks like a valid credit card number. Checks the input for * numeric characters, spaces, and dashes, only * length * and a checksum algorithm used by most (all?) credit cards.

credit_card_expiry

The data looks like a valid credit card expiry date. Checks MM/YY and MM/YYYY format dates and fails if the date is in the past or is more than ten years in the future.

SEE ALSO ^

The main perldoc for CGI::FormMagick

AUTHOR ^

Kirrily "Skud" Robert <skud@infotrope.net>

More information about FormMagick may be found at http://sourceforge.net/projects/formmagick/

syntax highlighting: