Re: [perl #127600] return in anonymous function causes error

2016-02-23 Thread Elizabeth Mattijsen
> On 22 Feb 2016, at 22:51, (via RT) wrote: > > # New Ticket Created by > # Please include the string: [perl #127600] > # in the subject line of all future correspondence about this issue. > # https://rt.perl.org/Ticket/Display.html?id=127600 > > > > Code sample: > > my $anon = -> $x, $y

[perl #127600] return in anonymous function causes error

2016-02-23 Thread via RT
# New Ticket Created by # Please include the string: [perl #127600] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=127600 > Code sample: my $anon = -> $x, $y {return $x * $y}; say $anon(3,7); Produces this output: Attempt