Cover image for Perl Pocket Reference, 5th Edition

Book description

If you have a Perl programming question, this pocket reference helps you find the answer quickly. Updated for Perl 5.14, the fifth edition provides a complete overview of the Perl programming language, and includes brief descriptions of Perl syntax rules, operators, and built-in functions. You'll also find the latest Perl features, such as enhanced regular expressions, object management, the Perl compiler, and Unicode support.

Table of Contents

  1. Perl: Pocket Reference
  2. 1. Perl Pocket Reference
    1. Perl 5.14.1
    2. Conventions used in this book
    3. Features
    4. Syntax
    5. Embedded Documentation
    6. Data Types
    7. Quotes and Interpolation
    8. Literal Values
      1. Scalar Values
      2. List Values
      3. Hash Values
      4. Filehandles
    9. Variables
    10. Context
    11. Operators and Precedence
    12. Statements
      1. Loop blocks
      2. When blocks
      3. Special forms
    13. Packages and Modules
    14. Pragmatic Modules
    15. Subroutines
      1. Prototypes
    16. Special Subroutines
    17. Object-Oriented Programming
    18. Special Classes
    19. Arithmetic Functions
    20. Conversion Functions
    21. Structure Conversion
    22. String Functions
    23. Array and List Functions
    24. Hash Functions
    25. Smartmatching
    26. Regular Expression Patterns
    27. Search and Replace Functions
    28. File Operations
    29. File Test Operators
    30. Input and Output
      1. Open Modes
      2. Common constants
      3. Standard I/O Layers
    31. Formatted Printing
    32. Formats
    33. Directory Reading Routines
    34. System Interaction
    35. Networking
    36. System V IPC
    37. Miscellaneous
    38. Tying Variables
    39. Information from System Databases
      1. Information About Users
      2. Information About Groups
      3. Information About Networks
      4. Information About Network Hosts
      5. Information About Network Services
      6. Information About Network Protocols
    40. Special Variables
    41. Special Arrays
    42. Special Hashes
    43. Environment Variables
    44. Threads
  3. A. Command-Line Options
    1. PERL5OPT
    2. #!
  4. B. The Perl Debugger
  5. C. Perl Links
    1. Organizational
    2. Sources, documentation, support
    3. News, blogs, publications
    4. Platforms, distributions
  6. Index
  7. About the Author
  8. Copyright