Name

mkdir

Synopsis

mkdir filename, mode

Description

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).

Get Perl in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.