CGI::FormMagick::Validator::Network.3pm

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

CGI::FormMagick::Validator::Network - network-related validation routines

SYNOPSIS

use CGI::FormMagick;

DESCRIPTION

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

Validation routines provided:

url
The data looks like a (normalish) URL: "$data =~ m!(http|ftp)://(\w/.-/+)!"
email_simple
The data looks more or less like an internet email address: "$data =~ /.+\@.+\..+/"

Note: not fully compliant with the entire gamut of RFC 822 addressing ;)

domain_name
The data looks like an internet domain name or hostname.
ip_number
The data looks like a valid IP number.
username
The data looks like a good, valid username
password
The data looks like a good password
mac_address
The data looks like a good MAC address