in reply to Re: Filehandles question
in thread Filehandles question

On non-regular files, the close system call can fail. If you don't close the file yourself, you get no indication of this.
It can fail on regular files, too. If the file system fills up between when the system last flushed your results and now, your close will try to write all the data that's in the buffer to the file and fail.

thor

Feel the white light, the light within
Be your own disciple, fan the sparks of will
For all of us waiting, your kingdom will come