Perl Programming/Keywords/umask

Previous: ucfirst Keywords Next: undef

The umask keyword

edit

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
  umask EXPRESSION
  umask
Previous: ucfirst Keywords Next: undef