CGI::FormMagick::Validator::Basic.3pm

Langue: en

Version: 2003-06-24 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

CGI::FormMagick::Validator::Basic - basic validation routines for FM

SYNOPSIS

use CGI::FormMagick;

DESCRIPTION

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

Validation routines provided:

nonblank
The data is not an empty string : "$data ne """
integer
The data is a positive integer.
number
The data is a number (positive and negative real numbers, and scientific notation are OK).
word
The data looks like a single word: "$data !~ /\W/"
date
The data looks like a date. Requires the Time::ParseDate module to be installed.