Given that close can only return 3 errors; and two of those shouldn't be possible in tested code;
it's hard to see how croak("E: Unable to close file handle for $file: $!");
can "results in a nice explanation what went wrong".
In reply to Re^8: Scoping question - will file handle be closed?
by BrowserUk
in thread Scoping question - will file handle be closed?
by Monk::Thomas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |