# New Ticket Created by  Lloyd Fournier 
# Please include the string:  [perl #127544]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=127544 >


my @data = 1,{},@data,"YEWHAT??";
say @data.perl;

# (\Array_140251854808256 = [1  Array_140251854808256 YEWHAT??])

It's putting the {} before it that makes the check stop working

p 'my @data = 1,@data,"YEWHAT??";say @data'
===SORRY!=== Error while compiling -e
Cannot use variable @data in declaration to initialize itself
at -e:1

I had a ',' where a ';' should have been and it slurped up the next line
where I used @data, and put it into itself. Took me forever to figure it
out!

Reply via email to