Perl: push() & pop()
push() & pop()
push() adds an item to end of the array
pop() removes an item from the end of array
@flintstones = ("fred","wilma");
push(@flintstones, "barney");
push(@flintstones, "betty"); # ("fred","wilma","barney","betty")
# $a set to "betty", array now holds: ("fred","wilma","barney");