简体   繁体   English

在线 Perl POD 渲染器

[英]Online Perl POD renderer

I seem to remember an "offical" site (perl.org or cpan.org) which had a POD previewer.我似乎记得一个有 POD 预览器的“官方”站点(perl.org 或 cpan.org)。 One uploaded a file and it would display the contained POD as it would appear on CPAN.上传一个文件,它会显示包含的 POD,就像它在 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 . metacpan.org的在线 POD 预览位于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".将 POD 粘贴到文本区域或单击“浏览文件..”按钮,选择要预览的 POD 文件(可能是包含 Perl 代码的.pm文件)并单击“渲染”。

For an offline Pod renderer in the style of search.cpan.org have a look at pod2cpanhtml .对于search.cpan.org风格的离线Pod 渲染器,请查看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.这个问题是关于 CPAN POD 渲染的,但它也是我在谷歌搜索在线 POD 渲染器时排在首位的,而不仅仅是官方的。 In addition to CPAN's official one, there's an on-the-fly renderer written by Michał Wojciechowski that I've found super-helpful:除了 CPAN 的官方渲染器之外,还有一个由 Michał Wojciechowski 编写的动态渲染器,我发现它非常有用:

http://podwebview.odyniec.net/ 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.他写了一篇关于它的博客文章并将代码放在 GitHub 上,以防上面的链接停止工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM