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


Code:
my ($x, [@y]) = 24, [40, 50, 60]; say @y.perl

Result:
Cannot call method 'perl' on a null object
  in block <unit> at -e line 1


I am not sure what result would be right. Personally I was expecting @y to
have three elements (40, 50, 60), but I don't know if it is supposed to
work this way.

In any case, it should not return a null object, I think.

Reply via email to