如何为catalyst.pl生成的文件设置样板信息?
当我使用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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
它使用
passwd
文件中的 GECOS 字段(由getpwuid
提供)。您可以通过设置 AUTHOR 环境变量来更改显示的作者姓名,尽管这似乎没有记录。至于覆盖整个事情:没有那么多,除非您想编写自己的使用Catalyst::Helper
的自定义子类的catalyst.pl
,或者提交补丁to -Runtime 让每个人都可以这样做。:)It's using the GECOS field from your line in the
passwd
file (courtesy ofgetpwuid
). You can change the author name that shows up by setting theAUTHOR
environment variable, although this doesn't seem documented. As for overriding the entire thing: not so much, unless you want to write your owncatalyst.pl
that uses a custom subclass ofCatalyst::Helper
, or submit the patch to -Runtime to let everyone do that.:)