Skip to content

Instantly share code, notes, and snippets.

@gfldex
Created October 2, 2016 19:46
Embed
What would you like to do?
use v6;
sub f(){
my $c = Channel.new;
start {
for 1..* {
CATCH { default { note .Str } }
$c.send($_);
die 'bad';
}
}
$c.list
}
.say for f;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment