Skip to content

Instantly share code, notes, and snippets.

@mojombo
Created July 20, 2010 02:25
Show Gist options
  • Select an option

  • Save mojombo/482383 to your computer and use it in GitHub Desktop.

Select an option

Save mojombo/482383 to your computer and use it in GitHub Desktop.

Revisions

  1. mojombo created this gist Jul 20, 2010.
    56 changes: 56 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,56 @@
    [21:24][tom@lepton:~(master)]$ perl --version

    This is perl, v5.10.0 built for darwin-thread-multi-2level
    (with 2 registered patches, see perl -V for more detail)


    [21:23][tom@lepton:~(master)]$ cat test.pod
    =head1 Title

    =over 4

    =item 1. Item 1

    =item 2. Item 2

    =back

    [21:23][tom@lepton:~(master)]$ perl -MPod::Simple::HTML -e Pod::Simple::HTML::go test.pod
    <html><head><title>Title</title>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" >
    </head>
    <body class='pod'>
    <!--
    generated by Pod::Simple::HTML v3.03,
    using Pod::Simple::PullParser v2.02,
    under Perl v5.010000 at Tue Jul 20 02:23:32 2010 GMT.

    If you want to change this HTML document, you probably shouldn't do that
    by changing it directly. Instead, see about changing the calling options
    to Pod::Simple::HTML, and/or subclassing Pod::Simple::HTML,
    then reconverting this document from the Pod source.
    When in doubt, email the author of Pod::Simple::HTML for advice.
    See 'perldoc Pod::Simple::HTML' for more info.

    -->

    <!-- start doc -->
    <a name='___top' class='dummyTopAnchor' ></a>

    <h1><a class='u' href='#___top' title='click to go to top of document'
    name="Title"
    >Title</a></h1>

    <dl>
    <dt><a name="1._Item_1"
    >1.
    Item 1
    <dt><a name="2._Item_2"
    >2.
    Item 2</a></dt>
    </dl>

    <!-- end doc -->

    </body></html>
    [21:23][tom@lepton:~(master)]$