Documentation for routine eof
Documentation for routine eof, assembled from the following types:
method eof(IO::Handle: --> Bool)
True if the read operations have exhausted the contents of the handle.
method eof(IO::CatHandle: --> Bool)
True if the read operations have exhausted the source handle queue, including the contents of the last handle. Note: calling this method may cause one or more
.on-switch calls, while the source handle queue is examined, and the source handle queue may get exhausted.
(my = 'foo'.IO).spurt: 'foo';(my = 'bar'.IO).spurt: 'bar';with IO::CatHandle.new: :on-switch, ,