Chapter 9. List variables

9.1

Using array variables

296

9.2

Using hash variables

308

9.3

Comparing list generators in the Shell and Perl

325

9.4

Summary

328

By this point, you’ve learned how to use Perl’s most important built-in functions and the special techniques employed in scripts. So you’re nearly ready to start slinging around huge quantities of data and wrangling their values until you get what you’re after—like a professional data munger!

But first, you need to learn how to classify, store, and retrieve those copious amounts of data. This brings us to the topic of list variables.

The main property that distinguishes list variables from the scalar variables we’ve already discussed is how many distinct items of data each can hold. The limit for a scalar ...

Get Minimal Perl: For UNIX and Linux People now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.