There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

NAME

Input::Validator::Constraint::Ip - Ip constraint

SYNOPSIS

$validator->field('ip')->constraint('ip');
$validator->field('ip')->constraint('ip', noprivate => 1);

DESCRIPTION

Checks whether a value looks like an ip address.

ARGUMENTS

noprivate

Private networks are considered invalid. Default is OFF.

METHODS

is_valid

Validates the constraint.

SEE ALSO

Input::Validator, Input::Constraint