如何为catalyst.pl生成的文件设置样板信息?

发布于 2024-08-22 19:37:51 字数 141 浏览 5 评论 0原文

当我使用catalyst.pl 自动生成我的应用程序时,POD 的作者部分仅包含我的姓名,如下所示。

 Kiffin Gish,,,

缺少哪些字段以及如何使用它们?是否可以为 POD 使用另一个样板?

When I use catalyst.pl to auto-generate my application, the AUTHOR section of the POD includes only my name like this.

 Kiffin Gish,,,

What are the missing fields and how can I use them? Is it possible to use another boilerplate for the PODs?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

浅紫色的梦幻 2024-08-29 19:37:51

它使用 passwd 文件中的 GECOS 字段(由 getpwuid 提供)。您可以通过设置 AUTHOR 环境变量来更改显示的作者姓名,尽管这似乎没有记录。至于覆盖整个事情:没有那么多,除非您想编写自己的使用 Catalyst::Helper 的自定义子类的 catalyst.pl,或者提交补丁to -Runtime 让每个人都可以这样做。:)

It's using the GECOS field from your line in the passwd file (courtesy of getpwuid). You can change the author name that shows up by setting the AUTHOR environment variable, although this doesn't seem documented. As for overriding the entire thing: not so much, unless you want to write your own catalyst.pl that uses a custom subclass of Catalyst::Helper, or submit the patch to -Runtime to let everyone do that.:)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文