We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11ebd2b commit a4dcf9cCopy full SHA for a4dcf9c
doc/Type/IO/Path.pod
@@ -189,9 +189,20 @@ A lazy way to find the first three files ending in ".p6" recursively starting fr
189
@stack.append(dir($current)>>.path) if $current.IO.d;
190
}
191
192
-
193
say $perl-files[1..3];
194
+=head2 routine slurp
195
+
196
+ multi method slurp(IO::Path:D: :$bin, :$enc);
197
198
+Return the file content for this path, like L<slurp|/routine/slurp>.
199
200
+=head2 routine spurt
201
202
+ multi method spurt(IO::Path:D: Blob $contents, :$bin, |c);
203
+ multi method spurt(IO::Path:D: Cool $contents, :$bin, |c);
204
205
+Write C<$contents> to this path, like L<spurt|/routine/spurt>.
206
207
=head2 routine chdir
208
0 commit comments