Ticket #4 (closed enhancement: fixed)
remove dep on Data::Validate::IP
| Reported by: | jabra | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | Build Process | Version: | Fierce 2.0 |
| Severity: | minor | Keywords: | |
| Cc: |
Description
Net::CIDR already has method to valid both ipv4 and ipv6 addresses. Therefore, we dont need Data::Validate::IP.
Reference from Net::CIDR (http://search.cpan.org/~mrsam/Net-CIDR-0.13/CIDR.pm)
$ip=Net::CIDR::cidrvalidate($ip);
Validate whether $ip is a valid IPv4 or IPv6 address. Returns its argument or undef. Spaces are removed, and IPv6 hexadecimal address are converted to lowercase.
Change History
Note: See
TracTickets for help on using
tickets.
done and dusted..