Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created December 6, 2018 00:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/17b64b7326fb5c058d1ae7a2ed963dea to your computer and use it in GitHub Desktop.
Save Whateverable/17b64b7326fb5c058d1ae7a2ed963dea to your computer and use it in GitHub Desktop.
evalable6
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 "+",
(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