Books & Videos

Table of Contents

  1. Overview

    1. Chapter 1 An Overview of Perl

      1. Getting Started
      2. Natural and Artificial Languages
      3. An Average Example
      4. Filehandles
      5. Operators
      6. Control Structures
      7. Regular Expressions
      8. List Processing
      9. What You Don’t Know Won’t Hurt You (Much)
  2. The Gory Details

    1. Chapter 2 Bits and Pieces

      1. Atoms
      2. Molecules
      3. Built-in Data Types
      4. Variables
      5. Names
      6. Scalar Values
      7. Context
      8. List Values and Arrays
      9. Hashes
      10. Typeglobs and Filehandles
      11. Input Operators
    2. Chapter 3 Unary and Binary Operators

      1. Terms and List Operators (Leftward)
      2. The Arrow Operator
      3. Autoincrement and Autodecrement
      4. Exponentiation
      5. Ideographic Unary Operators
      6. Binding Operators
      7. Multiplicative Operators
      8. Additive Operators
      9. Shift Operators
      10. Named Unary and File Test Operators
      11. Relational Operators
      12. Equality Operators
      13. Smartmatch Operator
      14. Bitwise Operators
      15. C-Style Logical (Short-Circuit) Operators
      16. Range Operators
      17. Conditional Operator
      18. Assignment Operators
      19. Comma Operators
      20. List Operators (Rightward)
      21. Logical and, or, not, and xor
      22. C Operators Missing from Perl
    3. Chapter 4 Statements and Declarations

      1. Simple Statements
      2. Compound Statements
      3. if and unless Statements
      4. The given Statement
      5. Loop Statements
      6. The goto Operator
      7. Paleolithic Perl Case Structures
      8. The Ellipsis Statement
      9. Global Declarations
      10. Scoped Declarations
      11. Pragmas
    4. Chapter 5 Pattern Matching

      1. The Regular Expression Bestiary
      2. Pattern-Matching Operators
      3. Metacharacters and Metasymbols
      4. Character Classes
      5. Quantifiers
      6. Positions
      7. Grouping and Capturing
      8. Alternation
      9. Staying in Control
      10. Fancy Patterns
    5. Chapter 6 Unicode

      1. Show, Don’t Tell
      2. Getting at Unicode Data
      3. A Case of Mistaken Identity
      4. Graphemes and Normalization
      5. Comparing and Sorting Unicode Text
      6. More Goodies
      7. References
    6. Chapter 7 Subroutines

      1. Syntax
      2. Semantics
      3. Passing References
      4. Prototypes
      5. Subroutine Attributes
    7. Chapter 8 References

      1. What Is a Reference?
      2. Creating References
      3. Using Hard References
      4. Symbolic References
      5. Braces, Brackets, and Quoting
    8. Chapter 9 Data Structures

      1. Arrays of Arrays
      2. Hashes of Arrays
      3. Arrays of Hashes
      4. Hashes of Hashes
      5. Hashes of Functions
      6. More Elaborate Records
      7. Saving Data Structures
    9. Chapter 10 Packages

      1. Symbol Tables
      2. Qualified Names
      3. The Default Package
      4. Changing the Package
      5. Autoloading
    10. Chapter 11 Modules

      1. Loading Modules
      2. Unloading Modules
      3. Creating Modules
      4. Overriding Built-in Functions
    11. Chapter 12 Objects

      1. Brief Refresher on Object-Oriented Lingo
      2. Perl’s Object System
      3. Method Invocation
      4. Object Construction
      5. Class Inheritance
      6. Instance Destructors
      7. Managing Instance Data
      8. Managing Class Data
      9. The Moose in the Room
      10. Summary
    12. Chapter 13 Overloading

      1. The overload Pragma
      2. Overload Handlers
      3. Overloadable Operators
      4. The Copy Constructor (=)
      5. When an Overload Handler Is Missing (nomethod and fallback)
      6. Overloading Constants
      7. Public Overload Functions
      8. Inheritance and Overloading
      9. Runtime Overloading
      10. Overloading Diagnostics
    13. Chapter 14 Tied Variables

      1. Tying Scalars
      2. Tying Arrays
      3. Tying Hashes
      4. Tying Filehandles
      5. A Subtle Untying Trap
      6. Tie Modules on CPAN
  3. Perl as Technology

    1. Chapter 15 Interprocess Communication

      1. Signals
      2. Files
      3. Pipes
      4. System V IPC
      5. Sockets
    2. Chapter 16 Compiling

      1. The Life Cycle of a Perl Program
      2. Compiling Your Code
      3. Executing Your Code
      4. Compiler Backends
      5. Code Generators
      6. Code Development Tools
      7. Avant-Garde Compiler, Retro Interpreter
    3. Chapter 17 The Command-Line Interface

      1. Command Processing
      2. Environment Variables
    4. Chapter 18 The Perl Debugger

      1. Using the Debugger
      2. Debugger Commands
      3. Debugger Customization
      4. Unattended Execution
      5. Debugger Support
      6. Profiling Perl
    5. Chapter 19 CPAN

      1. History
      2. A Tour of the Repository
      3. The CPAN Ecosystem
      4. Installing CPAN Modules
      5. Creating CPAN Distributions
  4. Perl as Culture

    1. Chapter 20 Security

      1. Handling Insecure Data
      2. Handling Timing Glitches
      3. Handling Insecure Code
    2. Chapter 21 Common Practices

      1. Common Goofs for Novices
      2. Efficiency
      3. Programming with Style
      4. Fluent Perl
      5. Program Generation
    3. Chapter 22 Portable Perl

      1. Newlines
      2. Endianness and Number Width
      3. Files and Filesystems
      4. System Interaction
      5. Interprocess Communication (IPC)
      6. External Subroutines (XS)
      7. Standard Modules
      8. Dates and Times
      9. Internationalization
      10. Style
    4. Chapter 23 Plain Old Documentation

      1. Pod in a Nutshell
      2. Pod Translators and Modules
      3. Writing Your Own Pod Tools
      4. Pod Pitfalls
      5. Documenting Your Perl Programs
    5. Chapter 24 Perl Culture

      1. History Made Practical
      2. Perl Poetry
      3. Virtues of the Perl Programmer
      4. Events
      5. Getting Help
  5. Reference Material

    1. Chapter 25 Special Names

      1. Special Names Grouped by Type
      2. Special Variables in Alphabetical Order
    2. Chapter 26 Formats

      1. String Formats
      2. Binary Formats
      3. Picture Formats
    3. Chapter 27 Functions

      1. Perl Functions by Category
      2. Perl Functions in Alphabetical Order
    4. Chapter 28 The Standard Perl Library

      1. Library Science
      2. A Tour of the Perl Library
    5. Chapter 29 Pragmatic Modules

      1. attributes
      2. autodie
      3. autouse
      4. base
      5. bigint
      6. bignum
      7. bigrat
      8. blib
      9. bytes
      10. charnames
      11. constant
      12. deprecate
      13. diagnostics
      14. encoding
      15. feature
      16. fields
      17. filetest
      18. if
      19. inc::latest
      20. integer
      21. less
      22. lib
      23. locale
      24. mro
      25. open
      26. ops
      27. overload
      28. overloading
      29. parent
      30. re
      31. sigtrap
      32. sort
      33. strict
      34. subs
      35. threads
      36. utf8
      37. vars
      38. version
      39. vmsish
      40. warnings
      41. User-Defined Pragmas
  1. Index of Perl Modules in This Book

  2. Colophon