Skip to content

Commit

Permalink
make dir() default to the current directory
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Sep 8, 2010
1 parent ea77ccd commit 780732f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/IO.pm
Expand Up @@ -259,7 +259,7 @@ multi sub note(*@args) {
$*ERR.say(@args);
}

multi sub dir($path as Str, Mu :$test = none('.', '..')) {
multi sub dir($path as Str = '.', Mu :$test = none('.', '..')) {
Q:PIR {
$P0 = find_lex '$path'
$P1 = new ['OS']
Expand Down

0 comments on commit 780732f

Please sign in to comment.