perl – 使用pod2html生成带有自定义文本的http链接的正确语法是
发布时间:2020-12-16 06:22:31 所属栏目:大数据 来源:网络整理
导读:perlpod文档告诉我,我可以使用链接到URL L方案:…或者L text | scheme:...,它甚至列出了L The Perl 主页| http://www.perl.org/u0026gt;举个例子. 第一种情况对我来说很好:pod2html转 Lhttp://example.com/ 成 a href="http://example.com/"http://examp
perlpod文档告诉我,我可以使用链接到URL
L<方案:…>或者L< text | scheme:...>,它甚至列出了L< The Perl 主页| http://www.perl.org/u0026gt;举个例子. 第一种情况对我来说很好:pod2html转 L<http://example.com/> 成 <a href="http://example.com/">http://example.com/</a> 但它失败了 L<example|http://example.com/> 刚刚变成了 <em>example</em> 以及警告: /usr/bin/pod2html: : cannot resolve L<example|http://example.com/> in paragraph 2. 我会期待类似的东西 <a href="http://example.com/">example</a> 要生产.我怎样才能做到这一点? 更新所以这似乎是Pod :: Html中的一个错误,正如Alan Haggai Alavi指出的那样.有解决方法吗? 解决方法
它确实是
Pod::Html 中的一个错误.它已在bleadperl中修复.
现在L< example | http://example.com/u0026gt;转换为< a href =“http://example.com/”>示例< / a>. 由于 否则,您可以使用 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |