Subject: | improve pod - fix =head warning |
mshack@mstevens-laptop:~/Bot-BasicBot-0.89/lib/Bot$
~/tools/perl-5.16.0/bin/podchecker BasicBot.pm
*** ERROR: Unknown command 'head' at line 1352 in file BasicBot.pm
*** ERROR: unresolved internal link 'shutdown' at line 974 in file
BasicBot.pm
*** ERROR: unresolved internal link 'hinrik.sig@gmail.com' at line 1483
in file BasicBot.pm
BasicBot.pm has 3 pod syntax errors.
Patch attached to fix the first ERROR for Unknown command "head".
Warning also shows eg here:
http://cpansearch.perl.org/src/HINRIK/Bot-BasicBot-0.89/README
so README may need regenerating.
Subject: | basicbot-pod-fix.patch |
diff -urN old/Bot-BasicBot-0.89//lib/Bot/BasicBot.pm Bot-BasicBot-0.89/lib/Bot/BasicBot.pm
--- old/Bot-BasicBot-0.89//lib/Bot/BasicBot.pm 2011-11-21 22:08:42.000000000 +0000
+++ Bot-BasicBot-0.89/lib/Bot/BasicBot.pm 2012-05-26 18:02:52.000000000 +0100
@@ -1349,7 +1349,7 @@
The local address to use, for multihomed boxes. Defaults to undef (use whatever
source IP address the system deigns is appropriate).
-=head C<useipv6>
+=head2 C<useipv6>
A boolean to indicate whether IPv6 should be used. Defaults to undef (use
IPv4).