my @x = qw (0 1 2 3 4 5 6 7 8 9); my @subset = @x[4..@x-1]; print "@subset\n"; # prints 4 5 6 7 8 9