I got sick and tired of so much vertical whitespace when writing Pod lists. So I wrote, and uploaded to CPAN, XML::Filter::EzPod. It takes any text in an ordinary paragraph and turns lines that start with
/^\*+\s/
into bullet points of the appropriate level, and the same for hashes/pounds (turns them into ordered lists).
It plugs into Pod::SAX, which makes this kind of filter approach really easy.
Incompatible formats (Score:1)
Surely a =version command should be introduced so that POD parsers can reliably tell if they can process the document? I discussed this with Allison Randal [perl.org] at YAPC::Europe, and apparently the plan is to allow POD documents to specif
Re: (Score:1)
My approach to this with Pod::WikiDoc [cpan.org] was to explicitly define a Pod format to write in then and pre-process that format into a "canonical" .pod file that is distributed with my modules.
See my Pod::WikiDoc lightning talk [dagolden.com] for examples.
Re: (Score:2)
I probably should have waited for a definitive format, but since it doesn't break anything if you don't pre-process it I didn't see it as a huge issue, and I needed this now.
(FWIW I modelled the design after Spod5 - but mine allows multiple levels).
Re: (Score:2)