method slurp-rest
1 | class IO::Handle |
1.1 | (IO::Handle) method slurp-rest |
Documentation for method slurp-rest
assembled from the following types:
class IO::Handle
From IO::Handle
(IO::Handle) method slurp-rest
Defined as:
multi method slurp-rest(IO::Handle: :! --> Buf)multi method slurp-rest(IO::Handle: : --> Str)
DEPRECATION NOTICE: this method is deprecated in the 6.d
version. Do not use it for new code, use .slurp
method instead.
Returns the remaining content of the file from the current file position (which may have been set by previous reads or by seek
.) If the adverb :bin
is provided a Buf will be returned; otherwise the return will be a Str
with the optional encoding :enc
.