@a = (1..3); pop: pop(@a); 删除数组最右边的一个值 push: push(@a,4);添加数组最右边的一个值 shift: shift(@a);删除数组最左边的一个值 unshift: unshift(@a,0);添加数组最左边的一个值