# New Ticket Created by Itsuki Toyota
# Please include the string: [perl #132242]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=132242 >
See the following result:
$ perl6 -e 'my $proc = Proc::Async.new("yes"); $proc.stdout.head(1).tap(&say);
await $proc.start;'
y
y
y
y
y
y
y
y
...
I think tap(&say) should output just a 'y' char and completes its work.
$ perl6 --version
This is Rakudo version 2017.09-254-gde0533c4d built on MoarVM version
2017.09.1-575-gd4e230a69
implementing Perl 6.c.