Documentation for method EOF
assembled from the following pages:
Class: IO::CatHandle §
From IO::CatHandle
(IO::CatHandle) method EOF §
Defined as:
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!
Class: IO::Handle §
From IO::Handle
(IO::Handle) method EOF §
Defined as:
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.