© William "Bo" Rothwell of One Course Source, Inc. 2020
W. ". RothwellAdvanced Perl Programminghttps://doi.org/10.1007/978-1-4842-5863-7_4

4. Advanced Data Types: Hashes

William “Bo” Rothwell1 
(1)
El Cajon, CA, USA
 

Knowing references (see Chapter 2) allows you to perform some advanced coding in Perl, including making hashes of hashes (a.k.a. multi-dimensional hashes). This chapter introduces this topic as well as some other advanced features of hashes.

What you should already know about hashes

Note

In the Beginning Perl Programming and Pro Perl Programming books, we covered some of the basics of hashes. This section is meant to be a review of these topics.

Hashes are useful when you need to store data that is related to (or associated with) other data, ...

Get Advanced Perl Programming: From Advanced to Expert 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.