develooper Front page | perl.perl5.porters | Postings from April 2011

How can one put a table into a pod

Thread Next
Karl Williamson
April 23, 2011 12:10
How can one put a table into a pod
Message ID:
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.

The documentation in perlpod seems to indicate that in
   =begin html


   =end html

   =begin text

     |  foo        |
     |        bar  |

   ^^^^ Figure 1. ^^^^

   =end text

the 'text' part acts as a fall back, and that an html formatter will not 
output it, even though it knows how to.  Is that the case?  If so, that 
could be used to put a table into the pod that works for the formatters 
that one knows how to specify tables for, and have the as-is function as 
a fallback.  But how does one guarantee that the format version and the 
fallback aren't both output?

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About