diff --git a/Changes b/Changes index 30c5d54..740a9aa 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Revision history for Perl extension NetAddr::IP +4.039 Wed Feb 16 15:48:03 PST 2011 + Correct documentation for 'split' methods + 4.038 Fri Dec 17 17:47:47 PST 2010 Modify subs "new" and "new6" in Lite.pm to accomodate Cisco mask syntax that uses space instead of "/" for a separator diff --git a/IP.pm b/IP.pm index 3006f7a..c389986 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.38 $ =~ /\d+/g) }; +$VERSION = do { sprintf " %d.%03d", (q$Revision: 4.39 $ =~ /\d+/g) }; =pod @@ -877,7 +877,7 @@ objects will be returned based on an increasing sort of the CIDR values of the C list. - i.e. my $ip = new NetAddr::IP('192.168.0.0'); + i.e. my $ip = new NetAddr::IP('192.168.0.0/24'); my $objptr = $ip->split(28, 29, 28, 29, 26); has split plan 28 29 28 29 26 26 26 28 @@ -900,7 +900,7 @@ C<-Ersplitref> is the same as C<-Esplitref> above except that the split plan is applied to the original object in reverse order. - i.e. my $ip = new NetAddr::IP('192.168.0.0'); + i.e. my $ip = new NetAddr::IP('192.168.0.0/24'); my @objects = $ip->split(28, 29, 28, 29, 26); has split plan 28 26 26 26 29 28 29 28 diff --git a/META.yml b/META.yml index 80a8560..1f06cd0 100644 --- a/META.yml +++ b/META.yml @@ -1,6 +1,6 @@ --- #YAML:1.0 name: NetAddr-IP -version: 4.038 +version: 4.039 abstract: Manages IPv4 and IPv6 addresses and subnets license: ~ author: