Neighboring functions:

our
package
pack
pipe
pop
pos
printf
print
prototype

pop

Examples:
pop-ARRAY
pop
Description:

Pops and returns the last value of the array, shortening the array by one element. Has an effect similar to

    $ARRAY[$#ARRAY--]  

If there are no elements in the array, returns the undefined value (although this may happen at other times as well). If ARRAY is omitted, pops the @ARGV array in the main program, and the @_ array in subroutines, just like shift.


No comments have been provided yet. Please feel free to add one.
Post a comment
Function examples and description are legal property of their respective authors. Comments belong to their posters.