A modern POD to HTML converter to get results like search.cpan.org

Is there code to convert POD to HTML in the same way as search.cpan.org? I would like to launch it through my CPAN distribution modules to see how they will look before release.

The pod2html that comes with Perl seems pretty dated. It does fancy things, like storing temporary files in the current directory and creating links like the so-called β€œman page”, and the result is far inferior to the beautiful output of search.cpan.org, but not sure what other people use.

+7
source share
4 answers

I wrote pod2cpanhtml precisely for the reasons you describe.

This is just a tiny piece of code that uses Pod :: Simple :: HTML and search.cpan.org CSS , but I find it very useful.

+8
source

Before I upload to CPAN, I will check my POD by looking at it in the browser http://search.cpan.org/pod2html .

The form is there, I click Browse...

I go to the directory containing my code and double click on the .pm file.

Then click Submit Query .

This is the closest that I actually saw.

See also pod2cpanhtml.

+12
source

Adding to the mob offers, I was quite pleased with Pod :: ProjectDocs . It needed minor minor changes, but it is more or less similar to CPAN.

+3
source

According to this perlmonks thread , the trick is to use Pod::HtmlEasy . Or maybe the trick is to use Apache::Pod::HTML . Or Pod::Tree ? I do not know, but there are a few suggestions.

+2
source

All Articles