开发者

Online Perl POD renderer

开发者 https://www.devze.com 2023-02-18 02:23 出处:网络
I seem to remember 开发者_StackOverflowan \"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

I seem to remember 开发者_StackOverflowan "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.


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


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号