Chapter 3. Arrays
|
Now that you've mastered simple scalars, you can go on and group data together in arrays. Perl’s arrays are both simple and complex. Perl makes arrays simple because it automatically handles all the memory allocation associated with arrays. Thus you don’t have to worry about making sure that the dimensions are right.
The complexity comes from the rich set of operators that you can use to manipulate arrays. These provide considerable power when it comes to array handling.
Get Perl for C Programmers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.