Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add some more explanation (labster++)
  • Loading branch information
MasterDuke17 committed Jun 8, 2016
1 parent 4436247 commit d857a09
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion doc/Type/IO/Path.pod
Expand Up @@ -512,7 +512,9 @@ or more readably:
=head2 method mode
Return an L<IntStr> object representing the POSIX permissions of a file.
Return an L<IntStr> object representing the POSIX permissions of a file. The
Str part of the result is the octal representation of the file permission, like
the form accepted by the chmod(1) utility.
say ~"path/to/file".IO.mode; # e.g. '0644'
say +"path/to/file".IO.mode; # e.g. 420, where sprintf('%04o', 420) eq '0644'
Expand Down

0 comments on commit d857a09

Please sign in to comment.