perl-NetAddr-IP provides perl modules to manage IPv4 and IPv6 addresses
and subnets.