Subject: | Cap.pm malformed POD |
The POD in this file produces errors from pod2man:
POD ERRORS
Hey! The above document had some coding errors, which are
explained
below:
Around line 89:
You can't have =items (as at line 148) unless the first thing
after
the =over is an =item
The attached patch fixes this.
Subject: | pod-parser-pod-fix.diff |
diff --git a/lib/Pod/InputObjects.pm b/lib/Pod/InputObjects.pm
index 13a8618..527e442 100644
--- a/lib/Pod/InputObjects.pm
+++ b/lib/Pod/InputObjects.pm
@@ -39,10 +39,10 @@ This module defines some basic input objects used by B<Pod::Parser> when
reading and parsing POD text from an input source. The following objects
are defined:
-=over 4
-
=begin __PRIVATE__
+=over 4
+
=item package B<Pod::InputSource>
An object corresponding to a source of POD input text. It is mostly a
@@ -50,8 +50,12 @@ wrapper around a filehandle or C<IO::Handle>-type object (or anything
that implements the C<getline()> method) which keeps track of some
additional information relevant to the parsing of PODs.
+=back
+
=end __PRIVATE__
+=over 4
+
=item package B<Pod::Paragraph>
An object corresponding to a paragraph of POD input text. It may be a