Skip to content

Commit

Permalink
Naive implementation of IO.umask
Browse files Browse the repository at this point in the history
  • Loading branch information
lizmat committed Jun 20, 2014
1 parent d370d01 commit 847bd58
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/IO.pm
@@ -1,4 +1,6 @@
my role IO { }
my role IO {
method umask { state $ = EVAL "0o" ~ qx/umask/ }
}

sub print(|) {
my $args := nqp::p6argvmarray();
Expand Down

0 comments on commit 847bd58

Please sign in to comment.