I see at
...that as of the 2017.03 release, Perl 6 "ignores SIGPIPE by default." I
discovered this for myself when I piped a program that generates unlimited
output to the head utility, and the program did not exit when head was
finished. Simple example:
$ perl6 -e '.say for ^Inf' | head
This will print numbers up to 9, and then continue to use almost 100% of
the CPU printing to a closed pipe.
I haven't been able to turn up any discussion about this change. Does
anyone have any insight? It's surprising and, frankly, unwelcome.