File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -213,14 +213,14 @@ Removes a L«C<lock>|/routine/lock» from the filehandle.
213
213
214
214
Defined as:
215
215
216
- multi sub words(IO::Handle:D $fh = $*ARGFILES, $count = Inf, :$close --> Seq:D)
217
- multi method words(IO::Handle:D: $count = Inf, :$close --> Seq:D)
216
+ multi sub words(IO::Handle:D $fh = $*ARGFILES, $limit = Inf, :$close --> Seq:D)
217
+ multi method words(IO::Handle:D: $limit = Inf, :$close --> Seq:D)
218
218
219
219
Similar to L « C < Str.words > |/type/Str#routine_words» , separates the handle's
220
220
stream on contiguous chunks of whitespace (as defined
221
221
by Unicode) and returns a L < Seq > of the resultant "words." Takes an optional
222
- C < $count > argument that can be a non-negative L < Int > , C < Inf > , or L < Whatever >
223
- (which is interpreted to mean C < Inf > ), to indicate only up-to C < $count > words
222
+ C < $limit > argument that can be a non-negative L < Int > , C < Inf > , or L < Whatever >
223
+ (which is interpreted to mean C < Inf > ), to indicate only up-to C < $limit > words
224
224
must be returned. If L < Bool > C < :$close > named argument is set to C < True > ,
225
225
will automatically close the handle when the returned L < Seq > is exhausted.
226
226
Subroutine form defaults to
You can’t perform that action at this time.
0 commit comments