Discussion Locked

Array processing functions

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
The Nov. 26, Perl TechMail discusses ways to gain greater flexibility with array processing functions. Have you used push, pop, shift, and unshift to process arrays in Perl?

1 reply

by Member 26997202

The functions push, pop, shift, and unshift are handy for dealing with one array element at either "end" of the array. Using splice one can operate on more than one element at a time nor are you restricted to working with the just the ends of the array.

This discussion is closed to new replies.