InMotion Web Site Hosting
InMotion Hosting Home




Node:Functions, Next:, Previous:It Slices!, Up:Manipulating Arrays and Lists



Functions

Perl also provides quite a few functions that operate on arrays. As you learn more and more Perl, you will see lots of interesting functions that work with arrays.

Now, we'll discuss a few of these functions that work on arrays: push, pop, shift, and unshift.

The names shift and unshift are an artifact of the Unix shells that used them to "shift around" incoming arguments.



InMotion Web Hosting Customer Support
M-F 8am - 7pm PST
213-239-0050

More information can be found at the InMotion Hosting Main Site