I seem to remember an "offical" site (perl.org or cpan.org) which had a POD previewer. One uploaded a file and it would display the contained POD as it would appear on CPAN. Does someone have this link. I can't seem to find it.
Asked
Active
Viewed 1,750 times
3 Answers
12
metacpan.org's online POD preview is at https://metacpan.org/pod2html. Either paste the POD in the textarea or click the "Browse for file .." button, select the POD file you want to preview (which may be a .pm
file including Perl code) and click "Render".

Håkon Hægland
- 39,012
- 21
- 81
- 174

cjm
- 61,471
- 9
- 126
- 175
-
@Joel, Note that [`pod2html`](http://search.cpan.org/perldoc?pod2html) is command line tool that's part of the core Perl distribution. – ikegami Mar 22 '11 at 07:45
-
3@ikegami, yes, but search.cpan.org uses some custom CSS. Also, different versions of pod2html may produce different results. Using the online version shows you how search.cpan.org will display your POD. – cjm Mar 22 '11 at 08:06
-
@BillRuppert, please read the question. The link is not to documentation, but to a live web service that does not exist (AFAIK) on MetaCPAN. – cjm Apr 04 '14 at 14:26
-
@cjm Sorry for the confusion, trying to help move links from search.cpan.org to metacpan.org. Obviously I need to pay more attention. I didn't know about that functionality, very nice. – Bill Ruppert Apr 04 '14 at 22:24
-
@BillRuppert a noble cause (moving links)! Keep it up (this case excepted). It's too bad that MetaCPAN does not have such a service, I would make use of it. – Joel Berger Apr 06 '14 at 16:52
7
For an offline Pod renderer in the style of search.cpan.org have a look at pod2cpanhtml.

Bill Ruppert
- 8,956
- 7
- 27
- 44

jmcnamara
- 38,196
- 6
- 90
- 108
2
This question is about CPAN POD rendering, but it was also the top Google search for me for an online POD renderer not just an official one. In addition to CPAN's official one, there's an on-the-fly renderer written by Michał Wojciechowski that I've found super-helpful:
http://podwebview.odyniec.net/
He wrote a blog post about it and put the code on GitHub, in case the above link ever stops working.

brymck
- 7,555
- 28
- 31