
Moosex::types::netaddr::ip provides ip address type constraints and coercions for moose, based on netaddr::ip (see libnet-addr-ip-perl). it provides three subtypes: netaddripv4 and netaddripv6 (which must be ipv4 and ipv6 addresses respectively) as well as netaddrip (which may be an ipv4 or ipv6 address).