pod2man fails with 'No name given for document'
<p>I have a pod2man task which has started failing with a recent update ( now running perl 5.24.0 ). The error output is</p>

<pre><code>[    8s] pod2man &lt; gits-checkup &gt; 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.
</code></pre>

<p>The complete file is hosted at <a href="https://sourceforge.net/p/gitslave/code/ci/master/tree/contrib/gits-checkup" rel="nofollow">gits-checkup</a>. Not sure which exact snippet to post.</p>

<p>How should I fix this error?</p>