in reply to Re^4: POD translation to HTML bug? (pod2html)
in thread POD translation to HTML bug?

No offence was intended.

Great, none was taken :)

... =pod ...

Well, that isn't valid pod, just like I mentioned earlier

$ podchecker junk.pod *** ERROR: =pod directives shouldn't be over one line long! Ignoring +all 7 lines of content at line 1 in file junk.pod junk.pod does not contain any pod commands.

To make it valid pod write

=pod =over =item Z<> Sample paragraph =item Non-empty Second sample =back =cut

So you'll get (after running through xml_pp)

<?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w +3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <meta content="text/html; charset=utf-8" http-equiv="content-type" +/> <link href="mailto:" rev="made"/> </head> <body style="background-color: white"> <dl> <dt id=""></dt> <dd> <p>Sample paragraph</p> </dd> <dt id="Non-empty">Non-empty</dt> <dd> <p>Second sample</p> </dd> </dl> </body> </html>

so its xhtml, its all balanced and proper nesting ... sure the id is invalid but thats no big deal :)

$ perldoc pod2html |ack ::
    See Pod::Html for a list of known bugs in the translator.
    perlpod, Pod::Html

$ mversion Pod::Html
1.1502
$ module_info -p -m Pod::Html

Name:        Pod::Html
Version:     1.1502
Directory:   D:\citruslib
File:        D:\citruslib\Pod\Html.pm
Core module: yes

Modules used:
    Carp
    Config
    Cwd
    Exporter
    File::Basename
    File::Spec
    File::Spec::Unix
    Getopt::Long
    Pod::Simple::Search
    base
    locale
    strict
    vars
    warnings

Packages created:
    Pod::Html   1.1502
    Pod::Simple::XHTML::LocalPodLinks   (no version)

$ corelist -a Pod::Html | ack 5.14
  v5.14.0    1.11
  v5.14.1    1.11
  v5.14.2    1.11
  v5.14.3    1.11
  v5.14.4    1.11

So Pod::Html v1.11 is about 3 years and 60 commits ago, before it used Pod::Simple

So the pod2html you're complaining is really old and unsupported from a version of perl that is not supported anymore

:)