Perl for Beginners
Publisher: Bookboon.com
Published: 2013
ISBN-13: 9788776816230
Table of contents: title: Content; title: 1. Introduction; title: 2. Getting started; title: 3. Data types; title: 4. Operators; title: 4.1. Number and string operators; title: 4.2. Combining operator and assignment; title: 4.3. Truth-value operators; title: 5. Flow of control: branches; title: 6. Program layout; title: 7. Built-in functions; title: 8. Flow of control: loops; title: 9. Reading from a file; title: 10. Pattern matching; title: 10.1. Matching and substitution; title: 10.2. Character classes; title: 10.3. Complement classes and indefinite repetition; title: 10.4. Capturing subpatterns; title: 10.5. Alternatives; title: 10.6. Escaping special characters; title: 10.7. Greed versus anorexia; title: 10.8. Pattern-internal back-reference; title: 10.9. Transliteration; title: 11. Writing to a file; title: 11.1. Reading, writing, appending; title: 11.2. Pattern-matching modifier letters; title: 11.3. Generalizing special cases; title: 12. Arrays; title: 12.1. Tables with numbered cells; title: 12.2. An example; title: 12.3. Assigning a list to an array; title: 12.4. Adding elements to and removing them from arrays; title: 12.5. Other operations on arrays; title: 13. Lists; title: 14. Scalar versus list context; title: 15. Two-dimensional tables; title: 16. User-defined functions; title: 16.1. Adapting Perl to our own tasks; title: 16.2. The structure of a user-defined function; title: 16.3. A second example; title: 16.4. Multi-argument functions; title: 16.5. Divide and conquer; title: 16.6. Returning a list of values; title: 16.7. “Subroutines” and “functions”; title: 17. Hash tables; title: 17.1. Tables indexed by strings; title: 17.2. Creating a hash; title: 17.3. Working through a hash table; title: 17.4. Advantages of hash tables; title: 17.5. Hashes versus references to hashes; title: 18. Formatted printing; title: 19. Built-in variables; title: 20. The debugger; title: 21. Beyond the introduction; title: 22. Endnotes