my @a=(1..10);$b=join "\t",@a[1..3,$#a-1];print "$b"; 结果: 2 3 4 9 相关文章: 2022-12-23 2022-12-23 2022-12-23 2022-02-02 2021-11-23 2022-01-21 2022-12-23