Net::IPv6Addr provides {functions for parsing IPv6 addresses} in all formats described by RFC1884 and RFC1924. It will generate {"IP6.INT."} strings (as described in RFC1886) if you are inclined to play with DNS records.

WWW: https://metacpan.org/pod/Net::IPv6Addr
