Skip to content

Commit 9764f5e

Browse files
authored
Add more clarifications for mkdir
that it's like `mkdir -p`
1 parent fe2b7eb commit 9764f5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Type/IO/Path.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -823,8 +823,8 @@ valid values for C<$mode>. Returns the L<IO::Path> object pointing to
823823
the newly created directory on success;
824824
L<fails|/routine/fail> with L<X::IO::Mkdir> if directory cannot be created.
825825
826-
Creates parent directories, as needed. That is, C<mkdir "foo/bar"> will
827-
create C<foo> if it does not exist.
826+
Creates parent directories, as needed (similar to *nix utility C<mkdir> with C<-p> option).
827+
That is, C<mkdir "foo/bar"> will create C<foo> if it does not exist.
828828
829829
=head2 routine rmdir
830830

0 commit comments

Comments
 (0)