Manipulating Perl arrays: shift, unshift, push, pop
push(ARRAY, LIST) - extending the ARRAY with the content of LIST; LAST = pop(ARRAY) - fetching the last element; FIRST = shift(ARRAY); unshift(ARRAY, LIST) ... As well as allowing direct access to individual array elements, Perl also provides various othe...