Subject: | Long lines in the man page generates warning when building the Debian package |
Date: | Sun, 07 Apr 2013 11:24:29 +0200 |
To: | bug-Net-IPAddress [...] rt.cpan.org |
From: | Cyril Bouthors <cyb [...] debian.org> |
Hi,
I'm about uploading Net-IPAddress as an official Debian package [1] but I'm
getting the following warning when running lintian:
W: libnet-ipaddress-perl: manpage-has-errors-from-man usr/share/man/man3/Net::IPAddress.3pm.gz 207: warning [p 2, 1.2i]: can't break line
W: libnet-ipaddress-perl: manpage-has-errors-from-pod2man usr/share/man/man3/Net::IPAddress.3pm.gz:239
Here is the code that generates the long lines:
################################################################
S<C<$server = "10.8.9.12";>
C<$newserver = num2ip(ip2num(mask($server,24)) + 17);>
C<print "New server IP is $newserver\n";>>
S<C<New server IP is 10.8.9.17>>
The following code does exactly the same thing:
S<C<use Net::IPAddress;>>
S<C<$server = "10.8.9.12";>
C<$newserver = num2ip(mask(ip2num($server),24) + 17);
C<print "New server IP is $newserver\n";>>
################################################################
I've made a temporary workaround in order for me to upload the package.
Would it be possible to fix it in the next release?
Regards,
[1] http://bugs.debian.org/704762
--
,''`.
: :' : Cyril Bouthors
`. `' Debian.org
`- Debian-Packaging.com