Improved IPv6 support in Perl
Derek Morrhas blogged before about the shoddy support for IPv6 in Perl. Last week, Perl 5.14 was released with improved IPv6 support in the core distribution:
Improved IPv6 support
The Socket module provides new affordances for IPv6,
including implementations of the Socket::getaddrinfo() and
Socket::getnameinfo() functions, along with related constants and a
handful of new functions. See Socket.
This change brings the standard getaddrinfo()/getnameinfo() socket calls into the core library. Prior to this, developers had to use a separate module, socket6, to get IPv6-capable socket calls. This change is long overdue. The getaddrinfo() and getnameinfo() calls were first defined in RFC 2113, which published in 1997!
In 2011, I can’t imagine why anyone would want to write new code in Perl, but I’m glad that the core library finally has IPv6 support. There’s still a lot of legacy Perl code out there, and much of it will have to get IPv6 support. This should make that process much easier.
Source: Living with IPv6 Blog
- IPv6 news and information