Guest User

Untitled

a guest
Nov 18th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #!/usr/bin/env perl6
  2. use v6;
  3.  
  4. for (0..1000) {
  5. my $channel = Channel.new;
  6. $channel.close;
  7. my $result = (try $channel.receive) // buf8;
  8. say "Result is undefined" unless $result.defined;
  9. }
Add Comment
Please, Sign In to add comment