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

How can one put a table into a pod

Thread Next
From:
Karl Williamson
Date:
April 23, 2011 12:10
Subject:
How can one put a table into a pod
Message ID:
4DB323D7.3040404@khwilliamson.com
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

   <br>Figure 1.<br><IMG SRC="figure1.png"><br>

   =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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About