Created
December 6, 2018 00:46
-
-
Save Whateverable/17b64b7326fb5c058d1ae7a2ed963dea to your computer and use it in GitHub Desktop.
evalable6
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
my $l = Lock.new; my %h; for 1..10 { my $p = start { sleep rand; $l.protect: { say "-- ", $p.WHERE; say %h.elems; %h{$p.WHERE}:delete; say %h.elems } }; say "+", |
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
(exit code 1) | |
===SORRY!=== Error while compiling /tmp/uT0CK3r5TY | |
Missing block | |
at /tmp/uT0CK3r5TY:1 | |
------> HERE}:delete; say %h.elems } }; say "+",⏏<EOL> | |
expecting any of: | |
postfix | |
prefix | |
statement end | |
statement modifier | |
statement modifier loop | |
term |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment