You can store that removed value into a scalar at the same time too : $result=shift(@array);. To remove the last element of an array : pop(@ ...
確定! 回上一頁