You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
On 2016-11-12 17:19:35, alex.jakimenko@gmail.com wrote:
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.
Migrated from rt.perl.org#130079 (status was 'new')
Searchable as RT130079$
The text was updated successfully, but these errors were encountered: