See Original text in context
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.
See Original text in context
multi method EOF(|)
The IO::CatHandle type overrides this method to throw a X::NYI
exception. If you have a good idea for how this method should behave, tell Rakudo developers about it!