Created
June 18, 2020 22:20
-
-
Save gfldex/6ec6c03d65dd9e298bacc9a0deabeace 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
use v6; | |
my @list = 1..10; | |
my @results; | |
loop { | |
@results = @list[^24].hyper(:degree(2), :batch(1)).map({ my $type = run('/bin/ls', :out).out.slurp.chars; $_ but role Mime { has $.mime = $type } }); | |
dd @results[0].mime; | |
last if now > 5 + BEGIN now; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment