Skip to content

Commit 8761394

Browse files
authored
Document mkdir is like $ mkdir -p
[Coke]++
1 parent f96c6a1 commit 8761394

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/Type/IO/Path.pod6

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,11 @@ https://en.wikipedia.org/wiki/File_system_permissions#Numeric_notation>
273273
specified as an integer (thought still subject to L<umask|
274274
https://en.wikipedia.org/wiki/Umask>).
275275
276+
Creates parent directories, as needed. That is, C<mkdir "foo/bar"> will
277+
create C<foo> if it does not exist.
278+
276279
Throws an exception of type L<X::IO::Mkdir> if the
277-
directory cannot be created, except for the C<*@dirnames> form which
280+
directory cannot be created, except for the C<*@dirnames> form, which
278281
returns the names of the directories that were successfully created.
279282
280283
=head2 routine rmdir

0 commit comments

Comments
 (0)