加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

Perl的代码文档样式指南

发布时间:2020-12-15 21:22:49 所属栏目:大数据 来源:网络整理
导读:用于记录Perl代码最常用的指南* 以下是javadoc guidelines的一个例子: "Gets the label of this button. (preferred)" vs."This method gets the label of this button. (avoid) " 我还没有在perlstyle或Extreme Perl – Coding Style找到任何东西. *所以不
用于记录Perl代码最常用的指南*

以下是javadoc guidelines的一个例子:

"Gets the label of this button.      (preferred)" vs.
"This method gets the label of this button.       (avoid) "

我还没有在perlstyle或Extreme Perl – Coding Style找到任何东西.

*所以不要引出基于意见的答案,导致问题被关闭;使用频率所需的参考资料

解决方法

>达米安·康威(Damien Conway)的着作 Perl Best Practices着重介绍文章.
> perldoc perlstyle为pod文档提供了一些快速指南(更多信息,请参阅 perldoc perldoc) – 模块具有自己的内置POD文档时总是很好.
>我相信 perlcritic也提供了一些文档建议(钩在你的代码与 Perl::Critic).

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读