File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -518,11 +518,12 @@ only C<:d> is set to C<True>.
518
518
519
519
= head2 routine mkdir
520
520
521
- method mkdir(IO::Path:D: Int() $mode = 0o777 --> Bool :D)
522
- sub mkdir( IO() $path, Int() $mode = 0o777 --> Bool :D)
521
+ method mkdir(IO::Path:D: Int() $mode = 0o777 --> IO::Path :D)
522
+ sub mkdir( IO() $path, Int() $mode = 0o777 --> IO::Path :D)
523
523
524
524
Creates a new directory. See L « C < mode > |/routine/mode» for explanation and
525
- valid values for C < $mode > . Returns C < True > on success;
525
+ valid values for C < $mode > . Returns the L < IO::Path > object pointing to
526
+ the newly created directory on success;
526
527
L < fails|/routine/fail > with L < X::IO::Mkdir > if directory cannot be created.
527
528
528
529
Creates parent directories, as needed. That is, C < mkdir "foo/bar" > will
You can’t perform that action at this time.
0 commit comments