[differences between cumulative patch application and perl5.004_01]
[p5sagit/p5-mst-13.2.git] / pod / checkpods.PL
index 4bec4da..ccd78ec 100644 (file)
@@ -62,7 +62,10 @@ while (<>) {
        $exit = 1;
     }
     $last_blank = /^\s+$/;
-    close(ARGV) if eof;
+    if (eof) {
+       close(ARGV);
+       $last_blank = 0;
+    }
 }
 exit $exit
 !NO!SUBS!