In IO::Handle§
See primary documentation in context for method EOF
method EOF(IO::Handle: --> Bool)
Indicates whether "end of file" has been reached for the data source of the handle; i.e. no more data can be obtained by calling .READ
method. Note that this is not the same as eof method, which will return True
only if .EOF
returns True
and all the decoder buffers, if any were used by the handle, are also empty. See .READ
for an example implementation.