标签:
push(arry,list);
定义和用法
推压值列表LIST数组的端部上,使用弹出来实现栈。
新的数组中的元素数
试试下面的例子:
@array = ( 1, 2 );
print "Before pusing elements @array \n";
push(@array, (3, 4, 5));
print "After pusing elements @array \n";
这将产生以下结果:
Before pusing elements 1 2
After pusing elements 1 2 3 4 5
标签:
原文地址:http://www.cnblogs.com/daimakun/p/4699342.html