Subject: | Wtrlt: pod2man: Expected text after =item, not a number |
Date: | Tue, 09 Apr 2019 08:00:33 +0200 |
To: | "bug-podlators [...] rt.cpan.org" <bug-podlators [...] rt.cpan.org> |
From: | "Ulrich Windl" <Ulrich.Windl [...] rz.uni-regensburg.de> |
Forwarding per request from "[perl #134006] pod2man: Expected text after =item, not a number":
Show quoted text
in Nachricht <5CAC50EA.ED38.00A1.0@rz.uni-regensburg.de>:
Show quoted text
>>> Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> schrieb am 08.04.2019 um 12:48
> After upgrading Perl, I realized that my POD that was valid in Perl 5.10.0 is
> no longer valid in perl-5.18.2:
> I'm getting error messages from pod2man like this:
> Expected text after =item, not a number
>
> The POD part that causes the error looks like this:
> ---
> Numbers are post-processed depending on I<num>:
>
> =over
>
> =item 0
>
> Absolute: No post-processing is done, and numbers are output as read.
>
> =item 1
>
> Delta: The difference between the values read and the corresponding last
> values are output.
>
> =item 2
>
> Rate: The difference between the values read and the corresponding last
> values
> divided by the age of the corresponding last values in seconds are output.
>
> =back
> ---
>
> Also, according to man perlpodspec this is allowed:
> "=item"
> This command indicates that an item in a list begins here.
> Formatting codes are processed. The semantics of the (optional)
> text in the remainder of this paragraph are explained in the
> "About
> =over...=back Regions" section, further below. Examples:
>
> =item
>
> =item *
>
> =item *
>
> =item 14
>
> =item 3.
>
> =item C<< $thing->stuff(I<dodad>) >>
>
> =item For transporting us beyond seas to be tried for pretended
> offenses
>
> =item He is at this time transporting large armies of foreign
> mercenaries to complete the works of death, desolation and
> tyranny, already begun with circumstances of cruelty and
> perfidy
> scarcely paralleled in the most barbarous ages, and totally
> unworthy the head of a civilized nation.
>
>
>