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 5e58d95 commit 25bce38Copy full SHA for 25bce38
doc/Type/IO/Path.pod6
@@ -301,6 +301,18 @@ L«C<$.CWD> attribute|type/IO::Path#attribute_CWD». To stringify while
301
retaining full path information use L«C<.absolute>|/routine/absolute» or
302
L«C<.relative>|/routine/relative» methods.
303
304
+=head2 method succ
305
+
306
+Defined as:
307
308
+ method succ(IO::Path:D: --> IO::Path:D)
309
310
+Returns a new L<IO::Path> constructed from the invocant, with
311
+L«C<.basename>|/routine/basename» changed by calling
312
+L«C<Str.succ>|/type/Str#method_succ» on it.
313
314
+ "foo/file02.txt".IO.succ.say; # OUTPUT: «"foo/file03.txt".IO»
315
316
=head2 method open
317
318
Defined as:
0 commit comments