Perl Programming/Keywords/umask
Appearance
The umask keyword
[edit | edit source]umask sets the umask for the process to EXPRESSION, and it returns the previous value. Without EXPRESSION, it only returns the current umask. The permission bits of rwxr-x--- is represented as three octal digits.
Syntax
[edit | edit source] umask EXPRESSION
umask