-
-
Save smls/c1c0b390fda76b1110ad155f5f4dd038 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sub find-files ($dir, Mu :$test = none <. ..>) { | |
gather { | |
for dir $dir { | |
.take when $test; | |
(.take for find-files $_) if .d; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment