1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/net-mgmt/p5-Data-Validate-IP/pkg-descr
Martin Wilke 25e7a0db9d This module collects ip validation routines to make input validation, and
untainting easier and more readable.

All functions return an untainted value if the test passes, and undef if it
fails. This means that you should always check for a defined status
explicitly. Don't assume the return will be true. (e.g. is_username('0'))

The value to test is always the first (and often only) argument.

WWW: http://search.cpan.org/dist/Data-Validate-IP/

PR:		ports/119264
Submitted by:	Tuc <freebsd-ports at t-b-o-h.net>
2008-01-14 11:15:31 +00:00

11 lines
448 B
Plaintext

This module collects ip validation routines to make input validation, and
untainting easier and more readable.
All functions return an untainted value if the test passes, and undef if it
fails. This means that you should always check for a defined status
explicitly. Don't assume the return will be true. (e.g. is_username('0'))
The value to test is always the first (and often only) argument.
WWW: http://search.cpan.org/dist/Data-Validate-IP/