Re: `=item 1. Text` Doesn't Produce Ordered List Item

[email protected] ("David E. Wheeler")
Newsgroups perl.pod-people
Message-ID <[email protected]>
On Jul 20, 2010, at 6:51 AM, Ricardo Signes wrote:

> The correct way to write this according to the Pod spec is:
> 
>  =item 1
> 
>  Item 1
> 
>  =item 2
> 
>  Item 2
> 
> Does that help?

No. I told the person who reported this issue to use that, and it is the proper way to do it. But note that this works:

=item * Foo

=item * Bar

That creates an unordered list. Given that, I would expect the corresponding syntax to work for ordered lists:

=item 1 Foo

=item 2 Bar

And it does, when run through pod2html, but not when run through Pod::Simple. So the question is, given this Pod, who's right? pod2html or Pod::Simple?

Thanks,

David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.