Joel Berger
Joel Berger

Reputation: 20280

Online Perl POD renderer

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.

Upvotes: 8

Views: 2038

Answers (3)

cjm
cjm

Reputation: 62109

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".

Upvotes: 13

brymck
brymck

Reputation: 7663

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.

Upvotes: 2

jmcnamara
jmcnamara

Reputation: 41594

For an offline Pod renderer in the style of search.cpan.org have a look at pod2cpanhtml.

Upvotes: 7

Related Questions