Perl pod2man与';文件'未给出名称;

Perl pod2man与';文件'未给出名称;,perl,perl-pod,Perl,Perl Pod,我有一个pod2man任务,由于最近的更新(现在运行的是perl5.24.0),它开始失败。错误输出为 [ 8s] pod2man < gits-checkup > gits-checkup.1 [ 9s] IO::File=IO(0x1365550) around line 1: No name given for document [ 9s] IO::File=IO(0xe06550) around line 1: No name given for docum

我有一个pod2man任务,由于最近的更新(现在运行的是perl5.24.0),它开始失败。错误输出为

[    8s] pod2man < gits-checkup > gits-checkup.1
[    9s] IO::File=IO(0x1365550) around line 1: No name given for document
[    9s] IO::File=IO(0xe06550) around line 1: No name given for document
[    9s] POD document had syntax errors at /usr/bin/pod2man line 70.
[8s]pod2mangits checkup.1
[9s]IO::File=IO(0x1365550)在第1行附近:未为文档指定名称
[9s]IO::File=IO(0xe06550)在第1行附近:未为文档指定名称
[9s]POD文档在/usr/bin/pod2man第70行有语法错误。
完整的文件位于。不确定要发布哪个片段


如何修复此错误?

可以通过向命令调用添加
--name
参数来修复此错误,例如

pod2man --name GITS-CHECKUP < gits-checkup > gits-checkup.1
pod2man——名称GITS-CHECKUPGITS-CHECKUP.1