Darkwing has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
i noticed that this renders as expected:
Same result as rendering this:=over =item * Foo =item * Bar =back
I tried this with my local Perl and with the online POD renderer https://metacpan.org/pod2html.=over =item * Foo =item * Bar =back
But I wonder if this is legal in POD or just works by accident. I looked here: https://perldoc.perl.org/perlpodspec and here: https://perldoc.perl.org/perlpod, but there is no example where =item * is followed by something else in the same line. I would like to use the shorter variant in my POD docu, but first I would like to clarify if this is really legal.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Is writing "=item * Foo" in a line in POD allowed?
by hippo (Archbishop) on Jun 29, 2023 at 10:40 UTC | |
|
Re: Is writing "=item * Foo" in a line in POD allowed?
by haj (Vicar) on Jun 29, 2023 at 10:43 UTC |