Skip to content

Commit 574783c

Browse files
committed
spurt got :bin
1 parent ef2afea commit 574783c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

doc/Type/IO.pod6

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,8 @@ exist, or is a directory.
280280
281281
sub spurt($where, $what,
282282
Str :$enc = $*ENC,
283-
Bool :append = False,
283+
Bool :$bin = False,
284+
Bool :$append = False,
284285
Bool :$createonly = False,
285286
--> Bool ) is export
286287
@@ -301,6 +302,10 @@ positional parameter was B<not> an C<IO::Handle>:
301302
302303
The encoding with which the contents will be written.
303304
305+
=item :bin
306+
307+
Open the file in binary mode.
308+
304309
=item :append
305310
306311
Boolean indicating whether to append to a (potentially) existing file. If

0 commit comments

Comments
 (0)