push @all, @{ $rows }[0 .. $n-1]; # for appropriate $n