Gisle, On Fri, Mar 11, 2011 at 3:06 PM, Nicholas Bamber <nicho...@periapt.co.uk>wrote:
> > I have not followed what the current state of this is. What prevents the >> core IO::Socket::INET from just working with IPv6? >> >> Seems wrong to me to start depending on the non-core IO::Socket::INET6. >> Does that module even work on Windows? >> >> --Gisle >> >> > > I have not looked into this issue in detail either. Getting it fixed > in IO::Socket::INET seems pretty logical to me and I will make enquiries in > that area. I cannot help thinking that someone must have tried that before > though. > Please look at Paul Evans' IO::Socket::IP which can do both IPv4 and IPv6 in a transparent fashion. Ref: http://leonerds-code.blogspot.com/2011/01/ipv6-in-perl.html I guess you're right in stating that preferably you should want to depend on a core module. It just might be that IO::Socket::IP should become a part of core in 5.14, then. -- Mike