Documentation for sub mkdir
Documentation for sub mkdir, assembled from the following types:
multi sub mkdir(Int , * --> List)multi sub mkdir(, = 0o777 --> Bool)method mkdir(IO::Path: = 0o777 --> Bool)
Creates parent directories, as needed. That is,
mkdir "foo/bar" will create
foo if it does not exist.
Throws an exception of type X::IO::Mkdir if the directory cannot be created, except for the
*@dirnames form, which returns the names of the directories that were successfully created.