in reply to Reasoning behind -1 not working in slices?

In perl, '..' generates a range between two values. I don't think it actually has the array context at the point that it's generated, so [4..-1] generates the same as:

my @indexes = (4..-1); #empty list @array[@indexes];