UCLA SIMS

pod2_html.php - Converts Perl-style POD to HTML 4.01 or XHTML 1.0

Written by Miles Alexander McCammon (miles86@ucla.edu), October-December 2008 (this file last modified 5/26/09, 20:24) © 2008 UCLA SIMS Group


This php script takes a single argument (the path of PERL file on the web server relative to the location of this file) in the format perl=filename, parses the perl file for POD comments (see 'perlpod' or perlpod, and then outputs the POD as a HTML document. If the given filename doesn't have a POD segment, you get this output.

What this DOES support in POD

  1. The basic formatting blocks of head1, head2, head3, head4, over, item, back, and cut are supported.
  2. 'C' (code), 'I' (italics-> em),'B' (bold-> strong), 'F'(file -> tt), 'L' (link-> hyperlink)

What this DOES NOT support in POD

  1. The formatting blocks of 'for', 'begin', 'end', or 'encoding'
  2. 'S' (non-breaking spaces), 'X' (index entry), and 'Z' (null formatting)

This only partially supports the E, or entity tag. The 'L' tag also is only partially supported.

License

Unless otherwise specified this is released under the GPL v 2. See http://www.gnu.org/licenses/gpl-2.0.html for details. Source code can be requested from the contacts on the ContactUS page.



"" does not have any POD information in it!

Please specify a file name with POD information.


N 34° 4' 9" W 118° 26' 27"