This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
devel/mktodo.pl: Explicitly close file
[perl5.git] / dist / Devel-PPPort / devel / mktodo.pl
index 15b69f1..9fc49ec 100644 (file)
@@ -428,6 +428,8 @@ sub write_todo  # Write out the todo file.  The keys of %sym are known to not
   for (sort dictionary_order keys %$sym) {
     $f->print(sprintf "%-30s # %s\n", $_, $sym->{$_});
   }
+
+  $f->close;
 }
 
 sub find_undefined_symbols