Closed bschmalhofer closed 3 years ago
Readd the close statement hat were remove in 08b155568c03649068a2d552b67bfe02402d45a7, even though it looks like no bugs were introduced in that commit. Checked the 91 file that have open statements and found no critical issues.
Test suite looks fine. Closing this issue.
There are instances where the code relies on the autoclosing of lexical file handles are autoclosed. Autoclosing works just fine, however the scoping rules are a bit surprising. See https://stackoverflow.com/questions/67644504/why-does-repeatedly-opening-appending-and-closing-a-text-file-cause-the-lines-t and https://perlmonks.org/?node_id=11133380 .
Here is an example:
TODO: