Re: Is this a bug?

[email protected] (Timo Paulssen) Mon, 19 Sep 2016 16:10:35 +0200
Newsgroups perl.perl6.language
Message-ID <[email protected]>
On 19/09/16 16:02, Aaron Sherman wrote:
> I'm guessing that what you meant was "say as a function was what I > meant to use there." In which case: > > say for reverse lines > > or
> > for reverse lines { say } > > These are both valid ways of asking
for each element of the iterable > thing returned from lines to be
printed with a newline.
Watch out, this needs to read say $_ otherwise you would get an error
message:

Unsupported use of bare "say"; in Perl 6 please use .say if you meant
$_, or use an explicit invocant or argument, or use &say to refer to the
function as a noun