BSD Ports

net-mgmt/p5-Data-Validate-IP 0.27 DragonFly

Common data validation methods for IPs

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
net-mgmt, perl5
Package size
16.8 KiB, 65.8 KiB installed

Description

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.

In the other systems

SystemPortVersion
DragonFlynet-mgmt/p5-Data-Validate-IP0.27
FreeBSDnet-mgmt/p5-Data-Validate-IP0.27
OpenBSDdevel/p5-Data-Validate-IP0.31
NetBSDdevel/p5-Data-Validate-IP0.31nb4
MidnightBSDnet-mgmt/p5-Data-Validate-IP0.31
HardenedBSDnet-mgmt/p5-Data-Validate-IP0.27
GhostBSDnet-mgmt/p5-Data-Validate-IP0.27
OPNsensenet-mgmt/p5-Data-Validate-IP0.27

Install

Binary package:

pkg install p5-Data-Validate-IP

From DPorts:

cd /usr/dports/net-mgmt/p5-Data-Validate-IP && make install clean

Dependencies

Run dependencies 2