r63697 - in /trunk/libnetaddr-ip-perl: Lite/README debian/changelog
periapt-guest at users.alioth.debian.org
periapt-guest at users.alioth.debian.org
Thu Oct 14 12:06:31 UTC 2010
Author: periapt-guest
Date: Thu Oct 14 12:05:18 2010
New Revision: 63697
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=63697
Log:
releasing
Modified:
trunk/libnetaddr-ip-perl/Lite/README
trunk/libnetaddr-ip-perl/debian/changelog
Modified: trunk/libnetaddr-ip-perl/Lite/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetaddr-ip-perl/Lite/README?rev=63697&op=diff
==============================================================================
--- trunk/libnetaddr-ip-perl/Lite/README (original)
+++ trunk/libnetaddr-ip-perl/Lite/README Thu Oct 14 12:05:18 2010
@@ -63,7 +63,6 @@
The supported operations are described below:
Overloaded Operators
-
Assignment ("=")
Has been optimized to copy one NetAddr::IP::Lite object to another
very quickly.
@@ -71,8 +70,7 @@
"->copy()"
The assignment ("=") operation is only put in to operation when the
copied object is further mutated by another overloaded operation.
- See the overload manpage SPECIAL SYMBOLS FOR "use overload" for
- details.
+ See overload SPECIAL SYMBOLS FOR "use overload" for details.
"->copy()" actually creates a new object when called.
@@ -88,7 +86,7 @@
my $ip = new6 NetAddr::IP::Lite '192.168.1.123';
print "$ip\n";
- Will print the string
+ Will print the string 0:0:0:0:0:0:C0A8:17B/128
Equality
You can test for equality with either "eq", "ne", "==" or "!=".
@@ -160,14 +158,13 @@
opposite of auto-incrementing it, as you would expect.
Methods
-
"->new([$addr, [ $mask|IPv6 ]])"
"->new6([$addr, [ $mask]])"
"->new_no([$addr, [ $mask]])"
"->new_from_aton($netaddr)"
The first two methods create a new address with the supplied address
- in "$addr" and an optional netmask "$mask", which can be omitted to
- get a /32 or /128 netmask for IPv4 / IPv6 addresses respectively.
+ in $addr and an optional netmask $mask, which can be omitted to get
+ a /32 or /128 netmask for IPv4 / IPv6 addresses respectively.
The third method "new_no" is exclusively for IPv4 addresses and
filters improperly formatted dot quad strings for leading 0's that
@@ -190,7 +187,7 @@
See "STRINGIFICATION" below.
- "$addr" can be almost anything that can be resolved to an IP address
+ $addr can be almost anything that can be resolved to an IP address
in all the notations I have seen over time. It can optionally
contain the mask in CIDR notation. If the OPTIONAL perl module
Socket6 is available in the local library it will autoload and ipV6
@@ -213,7 +210,7 @@
If called with no arguments, 'default' is assumed.
- "$addr" can be any of the following and possibly more...
+ $addr can be any of the following and possibly more...
n.n
n.n/mm
@@ -307,14 +304,14 @@
subnet.
"$me->contains($other)"
- Returns true when "$me" completely contains "$other". False is
- returned otherwise and "undef" is returned if "$me" and "$other" are
- not both "NetAddr::IP::Lite" objects.
+ Returns true when $me completely contains $other. False is returned
+ otherwise and "undef" is returned if $me and $other are not both
+ "NetAddr::IP::Lite" objects.
"$me->within($other)"
- The complement of "->contains()". Returns true when "$me" is
- completely contained within "$other", undef if "$me" and "$other"
- are not both "NetAddr::IP::Lite" objects.
+ The complement of "->contains()". Returns true when $me is
+ completely contained within $other, undef if $me and $other are not
+ both "NetAddr::IP::Lite" objects.
"->first()"
Returns a new object representing the first usable IP address within
@@ -327,7 +324,7 @@
"->nth($index)"
Returns a new object representing the *n*-th usable IP address
within the subnet (ie, the *n*-th host address). If no address is
- available (for example, when the network is too small for "$index"
+ available (for example, when the network is too small for $index
hosts), "undef" is returned.
Version 4.00 of NetAddr::IP and version 1.00 of NetAddr::IP::Lite
Modified: trunk/libnetaddr-ip-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libnetaddr-ip-perl/debian/changelog?rev=63697&op=diff
==============================================================================
--- trunk/libnetaddr-ip-perl/debian/changelog (original)
+++ trunk/libnetaddr-ip-perl/debian/changelog Thu Oct 14 12:05:18 2010
@@ -1,4 +1,4 @@
-libnetaddr-ip-perl (4.033+dfsg-1) UNRELEASED; urgency=low
+libnetaddr-ip-perl (4.033+dfsg-1) unstable; urgency=low
[ gregor herrmann ]
* Set Standards-Version to 3.9.1; replace Conflicts with Breaks.
@@ -9,9 +9,9 @@
* Refreshed copyright
* Reviewed and forwarded spelling patch
* Remove Breaks clause - cannot find libnetaddr-ip-lite-perl
- * Added patch missing IPv6 string (Closes: #565563)
-
- -- Nicholas Bamber <nicholas at periapt.co.uk> Thu, 14 Oct 2010 07:56:23 +0100
+ * Added patch for missing IPv6 string (Closes: #565563)
+
+ -- Nicholas Bamber <nicholas at periapt.co.uk> Thu, 14 Oct 2010 13:06:07 +0100
libnetaddr-ip-perl (4.028+dfsg-1) unstable; urgency=low
More information about the Pkg-perl-cvs-commits
mailing list