Binary package “libsocket6-perl” in ubuntu bionic
Perl extensions for IPv6
The Socket6 module supports getaddrinfo() and getnameinfo() to intend
to enable protocol independent programming. If your environment
supports IPv6, IPv6 related defines such as AF_INET6 are included.