Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- my sub modules-in-dist1( $directory ) {
- gather {
- try {
- for $directory.child('dist').IO.dir.grep(*.IO.f) -> $idx-file {
- take modules-in-idx-file( $idx-file );
- }
- }
- }.flat
- }
- my sub modules-in-dist2( $directory ) {
- try {
- $directory.child('dist').IO.dir.grep(*.IO.f).map(-> $idx-file {
- |modules-in-idx-file( $idx-file );
- });
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement