Skip Menu |
Report information
Id: 131382
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: alex.jakimenko [at]

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)

Subject: [LTA] for, parens, and lack of whitespace (for(^700){say 2})
Download (untitled) / with headers
text/plain 580b
Code: for(^700){say 2} Result: ===SORRY!=== Error while compiling -e Undeclared routine: for used at line 1 This just happened on the channel: Note that we already have a good error message: Code: for(^700) {say 2} Result: ===SORRY!=== Word 'for' interpreted as 'for()' function call; please use whitespace instead of parens at -e:1 ------> for⏏(^700) {say 2} Unexpected block in infix position (two terms in a row) at -e:1 ------> for(^700)⏏ {say 2} However, it is not printed if you omit space everywhere.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at