mkdir filename, mode
Creates the directory specified by filename, with permissions specified by the numeric mode (as modified by the current umask). If it succeeds, it returns 1; otherwise, it returns 0 and sets $! (from the value of errno).
1
0
$!
errno