The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.15

  • If your installed version of Socket.pm provides an inet_pton subroutine we use that to do validation. This is about 5x faster for IPv4 addresses and 20 times faster for IPv6.
  • Various unroutable networks are now recognized as non-public addresses. Based on a patch by Greg Oschwald. (Bug#83081).
  • Added is_unroutable_ipv4 exported sub.
  • Added is_public_ipv6, is_private_ipv6, is_loopback_ipv6, is_multicast_ipv6, and is_special_ipv6 subroutines.
  • Fixed the is_linklocal_ipv6 method. It didn't recognize the full link-local range properly.
  • Fixed bug where '::' was not recognized as a valid IPv6 address. (Bug#81700)
  • Fixed bug where ipv6 related subroutines were not untainting their return value.

Modules

ipv4 and ipv6 validation methods