> # New Ticket Created by "Carl Mäsak" > # Please include the string: [perl #61494] > # in the subject line of all future correspondence about this issue. > # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61494 > > > > Rakudo r34064 doesn't allow two spaces between 'say' and 'for' in this > one-liner: > > $ ./perl6 -e 'say for 1' > Could not find non-existent sub for
Actually I think that's the correct parse, because say() expects an argument list, so a bare 'for' has to be a sub call. It only parses 'for 1' as a statement modifying loop where an operator is expected. I'd argue that the parse of 'say for 1' (with only one whitespace) is incorrect. In case of doubt, ask STD.pm. Cheers, Moritz