Structure of This Book


It's a good idea to read this book from front to back, stopping to do the exercises. Each chapter builds on preceding chapters. You've been warned .

Chapter 1

An introduction to the material.

Chapter 2

How to bring code in from separate files so you can have others do some of your work for you.

Chapter 3

How to allow the same code to operate on different data structures by introducing a level of indirection.

Chapter 4

How Perl manages to keep track of pointers to data, and an introduction to anonymous data structures and autovivification.

Chapter 5

Viewing, searching, and storing nested arrays and hashes.

Chapter 6

How to capture behavior as a value to be passed around.

Chapter 7

Sorting complex operations, the "Schwartzian Transform," and working with recursively defined data.

Chapter 8

Working with classes, method calls, inheritance, and overriding.

Chapter 9

Adding per-instance data, including constructors, getters, and setters.

Chapter 10

Adding behavior to an object that is going away, including object persistence.

Chapter 11

Multiple inheritance, automatic methods , and references to filehandles.

Chapter 12

How use works, from the user 's and author's perspectives.

Chapter 13

Packaging up a module for sharing, including portable installation instructions.

Chapter 14

Providing unit and integration tests with your distribution.

Chapter 15

Submitting your module to the CPAN.

Appendix A

Where to go to get answers.



Learning Perl Objects, References & Modules
Learning Perl Objects, References, and Modules
ISBN: 0596004788
EAN: 2147483647
Year: 2003
Pages: 199

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net