On 04/23/2011 03:12 PM, Karl Williamson wrote:
On 04/23/2011 01:09 PM, Karl Williamson wrote:
I don't know how to put a table into a pod. One can simulate it by using
as-is formatting, but it's not very good.
There also doesn't appear to be a way to extend the pod language in a
backwards compatible way.
Am I missing something?
You can subclass Pod::Simple to produce a formatter capable of parsing
all normal pod, plus tables. For a good example of this, see
Pod::PseudoPod. The table formatting it uses is demonstrated in:
http://search.cpan.org/~arandal/Pod-PseudoPod-0.16/lib/Pod/PseudoPod/Tutorial.pod#Tables
(Or, perhaps this implementation of tables will be enough for your
purposes, and you won't need your own subclass.)
Allison