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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset