diff --git a/Changes b/Changes index 9efd710..6fa7990 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Revision history for Perl extension NetAddr::IP +4.024 Mon Jan 26 00:27:32 PST 2009 + documentation update + 4.023 Fri Jan 16 14:30:40 PST 2009 added the capability to set the CASE of ipV6 text return values to either upper or lower. Thanks to diff --git a/IP.pm b/IP.pm index 0126671..d6d7be5 100644 --- a/IP.pm +++ b/IP.pm @@ -34,7 +34,7 @@ @ISA = qw(Exporter NetAddr::IP::Lite); -$VERSION = do { sprintf " %d.%03d", (q$Revision: 4.23 $ =~ /\d+/g) }; +$VERSION = do { sprintf " %d.%03d", (q$Revision: 4.24 $ =~ /\d+/g) }; =pod @@ -59,6 +59,15 @@ :old_nth ); + NOTE: NetAddr::IP::Util has a full complement of network address + utilites to convert back and from from binary to text. + + inet_aton, inet_ntoa, ipv6_aton, ipv6_n2x, ipv6_n2d + inet_any2d, inet_n2dx, inet_n2ad, inetanyto6, ipv6to4 + +See L + + my $ip = new NetAddr::IP::Lite '127.0.0.1'; or from a packed IPv4 address my $ip = new_from_aton NetAddr::IP::Lite (inet_aton('127.0.0.1')); diff --git a/META.yml b/META.yml index 2be4f45..00438a4 100644 --- a/META.yml +++ b/META.yml @@ -1,6 +1,6 @@ --- #YAML:1.0 name: NetAddr-IP -version: 4.023 +version: 4.024 abstract: Manages IPv4 and IPv6 addresses and subnets license: ~ author: