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

use CGI::FormMagick;

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