in reply to Re: Peter Norvig Spelling Corrector in Perl 5
in thread Peter Norvig Spelling Corrector in Perl 5

You don't need to use a gather/take implementation for that. You can just use an array in an outer scope, and push to it instead of calling take.

gather/take does add laziness in Perl 6, but it doesn't seem necessary in this script.