CC: | Bernhard Reutner-Fischer <rep.dot.nop [...] gmail.com> |
Subject: | Typo in docs of reverse_ip() |
Date: | Tue, 27 Mar 2018 12:24:36 +0200 |
To: | bug-Net-IP [...] rt.cpan.org |
From: | Bernhard Reutner-Fischer <rep.dot.nop [...] gmail.com> |
Hi,
in Net::IP version 1.26 there is a typo in the POD for reverse_ip():
It talks about reserve_ip() in the example.
thanks,
$ diff -rp -U4 /usr/share/perl5/Net/IP.pm /tmp/IP.pm
--- /usr/share/perl5/Net/IP.pm 2012-12-15 00:04:04.000000000 +0100
+++ /tmp/IP.pm 2018-03-27 12:21:48.879061323 +0200
@@ -2194,9 +2194,9 @@ C<print ($ip-E<gt>iptype());>
=head2 reverse_ip
Return the reverse IP for a given IP address (in.addr. format).
-C<print ($ip-E<gt>reserve_ip());>
+C<print ($ip-E<gt>reverse_ip());>
=head2 last_ip
Return the last IP of a prefix/range in quad format.