IO::Socket::INET6 provides an object interface to creating and using sockets in both AF_INET|AF_INET6 domain.