I'm new to the network domain and perl world. I am trying to do router anouncement over BGP ipv6. There is a script that uses Net::BGP library for the anouncement made in ipv4, and I want to convert it to support ipv6. I looked through this library and understood that it only supports ipv4 (not sure). The reason why I think so is that the domain given when creating the socket in the link below is AF_INET, while for ipv6 the domain should be AF_INET6.
https://metacpan.org/release/SSCHECK/Net-BGP-0.18/source/lib/Net/BGP/Process.pm#L215
Your comments and guidance are very valuable to me. Thanks in advance