in reply to POD translation to HTML bug?
Is my =item usage forbidden by POD rules?
Doesn't really matter :) but it isn't , see in perlpodspec, perlpod
Naturally this assumes the invalid-pod you posted is really valid pod in your real file
Can this be corrected in pod2html?
Sure, but why bother? Don't hold your breath :) What are you talking about? Maybe you want to upgrade Pod::Html, I have an old 1.1502, I don't get what you get
There are many alternatives to Pod::Html like Pod::Simple::... Pod::Simple::HTML, Pod::Simple::HTMLBatch, Pod::POM::View::HTML/Pod::POM::Web, Perl::Tidy
use Perl::Tidy(); my $html = ""; Perl::Tidy::perltidy( source => $modfile, destination => \$html, argv => " -html ", stderr => File::Spec->devnull, ); return $html;
In the meantime, how can I workaround this shortcoming?
Well, I would stop using XML::Parser as its very low level. I would use XML::Twig or XML::LibXML
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: POD translation to HTML bug? (pod2html)
by ajl52 (Novice) on Dec 06, 2013 at 11:24 UTC | |
by Anonymous Monk on Dec 06, 2013 at 11:35 UTC | |
by ajl52 (Novice) on Dec 07, 2013 at 14:19 UTC | |
by Anonymous Monk on Dec 07, 2013 at 23:19 UTC |