That *is* Perl 5 syntax, though; it looks like the schema

    for $var (list) { ... } # the space is not required between the var and
the parenthesized list


On Wed, Mar 29, 2017 at 9:35 PM, Aleks-Daniel Jakimenko-Aleksejev <
perl6-bugs-follo...@perl.org> wrote:

> # New Ticket Created by  Aleks-Daniel Jakimenko-Aleksejev
> # Please include the string:  [perl #131076]
> # in the subject line of all future correspondence about this issue.
> # <URL: https://rt.perl.org/Ticket/Display.html?id=131076 >
>
>
> Code:
> my $x = *²; for $x(42), $x(50) { say $_ }
>
> Result:
> ===SORRY!=== Error while compiling -e
> This appears to be Perl 5 code
> at -e:1
> ------> my $x = *²; for ⏏$x(42), $x(50) { say $_ }
>



-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

Reply via email to