Sara/DS/Amoura/whatever, the pop(@array) function is destructive. It will remove the last element from the array (just as shift will remove the first element), it is therefore not a good substitute for
under most circumstances. If you don't mind that your array will now be incomplete pop away. :)