mkdir - perldoc.perl.org
mkdir FILENAME,MASK mkdir FILENAME mkdir Creates the directory specified by FILENAME, with permissions specified by MASK (as modified by umask). If it succeeds it returns true; otherwise it returns false and sets $! (errno). MASK defaults to 0777 if omitt...