Of course, once we have created a list array, we can do much more than just access the elements. We can also manipulate the elements in many ways. In CGI , list arrays are most often manipulated using the operators push, pop, shift and unshift. Push is used to add a new element on the right hand side of a list array.
Pop does the exact same thing as push, but in reverse.
Unshift does the exact same thing as push, but it performs the addition to the left side of the list array instead of to the right. Though push, pop, shift, and unshift are the most common list array manipulation functions used, there are many others covered in more complete references. The following table summarizes some of the common array manipulating operators. Internet News Internet Investing Internet Technology Windows Internet Tech. Copyright 2001 INT Media Group, Incorporated.