This function creates the directory specified by
permissions specified by the numeric
MODE (as modified by the
If it succeeds it returns 1, otherwise it returns 0 and sets $!
(from the value of
If mkdir(2) is not built in to your C library, Perl emulates it by calling the mkdir(1) program. If you are creating a long list of directories on such a system it will be more efficient to call the mkdir program yourself with the list of directories to avoid starting zillions of subprocesses.