Summary

During this hour you learned the basics of references. First, you learned how to take references to Perl's basic data types: scalars, arrays, and hashes. Then, using those references, you learned how to manipulate the original structures. You then learned that it was possible to take a reference to a hash or array that didn't have a variable name associated with it—anonymous storage. Finally, you learned how to use references to create complex data structures and where to find a cookbook of ready-made data structures.

Get SAMS Teach Yourself Perl in 24 Hours THIRD EDITION 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.