Programming Perl, 4th Edition

Book description

Adopted as the undisputed Perl bible soon after the first edition appeared in 1991, Programming Perl is still the go-to guide for this highly practical language. In this much-anticipated update to "the Camel," three renowned Perl authors cover the language up to its current version, Perl 5.14, with a preview of features in the upcoming 5.16.

Publisher resources

View/Submit Errata

Table of contents

  1. Table of Contents (1/4)
  2. Table of Contents (2/4)
  3. Table of Contents (3/4)
  4. Table of Contents (4/4)
  5. List of Tables
  6. Preface
    1. The Pursuit of Happiness
    2. What’s New in This Edition
    3. The Standard Distribution
    4. Online Documentation
      1. Navigating the Standard Manpages
      2. Non-Perl Manpages
    5. Offline Documentation
    6. Additional Resources
      1. Perl on the Web
      2. Bug Reports
    7. Conventions Used in This Book
    8. Using Code Examples
    9. Acknowledgments
    10. Safari® Books Online
    11. We’d Like to Hear from You
  7. Part I. Overview
    1. Chapter 1. An Overview of Perl
      1. Getting Started
      2. Natural and Artificial Languages (1/3)
      3. Natural and Artificial Languages (2/3)
      4. Natural and Artificial Languages (3/3)
        1. Variable Syntax
          1. Singularities
          2. Pluralities
            1. Arrays
            2. Hashes
          3. Complexities
          4. Simplicities
        2. Verbs
      5. An Average Example
        1. How to Do It
      6. Filehandles
      7. Operators (1/2)
      8. Operators (2/2)
        1. Some Binary Arithmetic Operators
        2. String Operators
        3. Assignment Operators
        4. Unary Arithmetic Operators
        5. Logical Operators
        6. Some Numeric and String Comparison Operators
        7. Some File Test Operators
      9. Control Structures (1/2)
      10. Control Structures (2/2)
        1. What Is Truth?
          1. The if and unless statements
        2. The given and when Statements
        3. Looping Constructs
          1. Conditional loops
          2. The three-part loop
          3. The foreach loop
          4. Breaking out: next and last
      11. Regular Expressions (1/2)
      12. Regular Expressions (2/2)
        1. Quantifiers
        2. Minimal Matching
        3. Nailing Things Down
        4. Backreferences
      13. List Processing
      14. What You Don’t Know Won’t Hurt You (Much)
  8. Part II. The Gory Details
    1. Chapter 2. Bits and Pieces
      1. Atoms
      2. Molecules
      3. Built-in Data Types
      4. Variables
      5. Names
        1. Name Lookups
      6. Scalar Values (1/3)
      7. Scalar Values (2/3)
      8. Scalar Values (3/3)
        1. Numeric Literals
        2. String Literals
        3. Pick Your Own Quotes
        4. Or Leave Out the Quotes Entirely
        5. Interpolating Array Values
        6. “Here” Documents
        7. Version Literals
        8. Other Literal Tokens
      9. Context
        1. Scalar and List Context
        2. Boolean Context
        3. Void Context
        4. Interpolative Context
      10. List Values and Arrays
        1. List Assignment
        2. Array Length
      11. Hashes
      12. Typeglobs and Filehandles
      13. Input Operators (1/2)
      14. Input Operators (2/2)
        1. Command Input (Backtick) Operator
        2. Line Input (Angle) Operator
        3. Filename Globbing Operator
    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
        1. Smartmatching of Objects
      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
        1. The when Statement and Modifier
      5. Loop Statements (1/2)
      6. Loop Statements (2/2)
        1. while and until Statements
        2. Three-Part Loops
        3. foreach Loops
        4. Loop Control
        5. Bare Blocks as Loops
        6. Loopy Topicalizers
      7. The goto Operator
      8. Paleolithic Perl Case Structures
      9. The Ellipsis Statement
      10. Global Declarations
      11. Scoped Declarations (1/2)
      12. Scoped Declarations (2/2)
        1. Scoped Variable Declarations
        2. Lexically Scoped Variables: my
        3. Persistent Lexically Scoped Variables: state
        4. Lexically Scoped Global Declarations: our
        5. Dynamically Scoped Variables: local
      13. Pragmas
        1. Controlling Warnings
        2. Controlling the Use of Globals
    4. Chapter 5. Pattern Matching
      1. The Regular Expression Bestiary
      2. Pattern-Matching Operators (1/5)
      3. Pattern-Matching Operators (2/5)
      4. Pattern-Matching Operators (3/5)
      5. Pattern-Matching Operators (4/5)
      6. Pattern-Matching Operators (5/5)
        1. Pattern Modifiers
        2. The m// Operator (Matching)
        3. The s/// Operator (Substitution)
          1. Modifying strings en passant
          2. Modifying arrays en masse
          3. When a global substitution just isn’t global enough
        4. The tr/// Operator (Transliteration)
      7. Metacharacters and Metasymbols (1/2)
      8. Metacharacters and Metasymbols (2/2)
        1. Metasymbol Tables
        2. Specific Characters
        3. Wildcard Metasymbols
      9. Character Classes (1/3)
      10. Character Classes (2/3)
      11. Character Classes (3/3)
        1. Bracketed Character Classes
        2. Classic Perl Character Class Shortcuts
        3. Character Properties
        4. POSIX-Style Character Classes
      12. Quantifiers
      13. Positions
        1. Beginnings: The \A and ^ Assertions
        2. Endings: The \z, \Z, and $ Assertions
        3. Boundaries: The \b and \B Assertions
        4. Progressive Matching
        5. Where You Left Off: The \G Assertion
      14. Grouping and Capturing (1/2)
      15. Grouping and Capturing (2/2)
        1. Capturing
          1. Named capture groups
        2. Grouping Without Capturing
        3. Scoped Pattern Modifiers
      16. Alternation
      17. Staying in Control (1/3)
      18. Staying in Control (2/3)
      19. Staying in Control (3/3)
        1. Letting Perl Do the Work
        2. Variable Interpolation
          1. When backslashes happen
          2. The qr/PATTERN/modifiers quote regex operator
        3. The Regex Compiler
        4. The Little Engine That /Could(n’t)?/
      20. Fancy Patterns (1/6)
      21. Fancy Patterns (2/6)
      22. Fancy Patterns (3/6)
      23. Fancy Patterns (4/6)
      24. Fancy Patterns (5/6)
      25. Fancy Patterns (6/6)
        1. Lookaround Assertions
        2. Possessive Groups
        3. Programmatic Patterns
          1. Generated patterns
          2. Substitution evaluations
          3. Match-time code evaluation
          4. Match-time pattern interpolation
          5. Conditional interpolation
        4. Recursive Patterns
        5. Grammatical Patterns
          1. Grammars
        6. Defining Your Own Assertions
        7. Alternate Engines
    5. Chapter 6. Unicode
      1. Show, Don’t Tell
      2. Getting at Unicode Data
        1. The Encode Module
      3. A Case of Mistaken Identity
      4. Graphemes and Normalization (1/2)
      5. Graphemes and Normalization (2/2)
      6. Comparing and Sorting Unicode Text (1/2)
      7. Comparing and Sorting Unicode Text (2/2)
        1. Using the uca with Perl’s sort
        2. Locale Sorting
      8. More Goodies (1/2)
      9. More Goodies (2/2)
        1. Custom Regex Boundaries
        2. Building Character
      10. References
    6. Chapter 7. Subroutines
      1. Syntax
      2. Semantics (1/2)
      3. Semantics (2/2)
        1. Tricks with Parameter Lists
        2. Error Indications
        3. Scoping Issues
      4. Passing References
      5. Prototypes (1/2)
      6. Prototypes (2/2)
        1. Inlining Constant Functions
        2. Care with Prototypes
        3. Prototypes of Built-in Functions
      7. Subroutine Attributes
        1. The method Attribute
        2. The lvalue Attribute
    7. Chapter 8. References
      1. What Is a Reference?
      2. Creating References (1/2)
      3. Creating References (2/2)
        1. The Backslash Operator
        2. Anonymous Data
          1. The anonymous array composer
          2. The anonymous hash composer
          3. The anonymous subroutine composer
        3. Object Constructors
        4. Handle References
        5. Symbol Table References
        6. Implicit Creation of References
      4. Using Hard References (1/3)
      5. Using Hard References (2/3)
      6. Using Hard References (3/3)
        1. Using a Variable As a Variable Name
        2. Using a block As a Variable Name
        3. Using the Arrow Operator
        4. Using Object Methods
        5. Pseudohashes
        6. Other Tricks You Can Do with Hard References
        7. Closures
          1. Closures as function templates
          2. Nested subroutines
      7. Symbolic References
      8. Braces, Brackets, and Quoting
        1. References Don’t Work As Hash Keys
        2. Garbage Collection, Circular References, and Weak References
    8. Chapter 9. Data Structures
      1. Arrays of Arrays
        1. Creating and Accessing a Two-Dimensional Array
        2. Growing Your Own
        3. Access and Printing
        4. Slices
        5. Common Mistakes
      2. Hashes of Arrays
        1. Composition of a Hash of Arrays
        2. Generation of a Hash of Arrays
        3. Access and Printing of a Hash of Arrays
      3. Arrays of Hashes
        1. Composition of an Array of Hashes
        2. Generation of an Array of Hashes
        3. Access and Printing of an Array of Hashes
      4. Hashes of Hashes
        1. Composition of a Hash of Hashes
        2. Generation of a Hash of Hashes
        3. Access and Printing of a Hash of Hashes
      5. Hashes of Functions
      6. More Elaborate Records
        1. Composition, Access, and Printing of More Elaborate Records
        2. Composition, Access, and Printing of Even More Elaborate Records
        3. Generation of a Hash of Complex 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 (1/2)
      4. Creating Modules (2/2)
        1. Naming Modules
        2. A Sample Module
        3. Module Privacy and the Exporter
          1. Exporting without using Exporter’s import method
          2. Version checking
          3. Managing unknown symbols
          4. Tag-handling utility functions
      5. Overriding Built-in Functions
    11. Chapter 12. Objects
      1. Brief Refresher on Object-Oriented Lingo
      2. Perl’s Object System
      3. Method Invocation (1/2)
      4. Method Invocation (2/2)
        1. Method Invocation Using the Arrow Operator
        2. Method Invocation Using Indirect Objects
        3. Syntactic Snafus with Indirect Objects
        4. Package-Quoted Classes
      5. Object Construction
        1. Inheritable Constructors
        2. Initializers
      6. Class Inheritance (1/3)
      7. Class Inheritance (2/3)
      8. Class Inheritance (3/3)
        1. Inheritance Through @ISA
        2. Alternate Method Searching
        3. Accessing Overridden Methods
        4. UNIVERSAL: The Ultimate Ancestor Class
        5. Method Autoloading
        6. Private Methods
      9. Instance Destructors
        1. Garbage Collection with destroy Methods
      10. Managing Instance Data (1/2)
      11. Managing Instance Data (2/2)
        1. Generating Accessors with Autoloading
        2. Generating Accessors with Closures
        3. Using Closures for Private Objects
        4. New Tricks
      12. Managing Class Data
      13. The Moose in the Room
      14. Summary
    12. Chapter 13. Overloading
      1. The overload Pragma
      2. Overload Handlers
      3. Overloadable Operators (1/2)
      4. Overloadable Operators (2/2)
      5. The Copy Constructor (=)
      6. When an Overload Handler Is Missing (nomethod and fallback)
      7. Overloading Constants
      8. Public Overload Functions
      9. Inheritance and Overloading
      10. Runtime Overloading
      11. Overloading Diagnostics
    13. Chapter 14. Tied Variables
      1. Tying Scalars (1/2)
      2. Tying Scalars (2/2)
        1. Scalar-Tying Methods
        2. Magical Counter Variables
        3. Cycling Through Values
        4. Magically Banishing $_
      3. Tying Arrays (1/2)
      4. Tying Arrays (2/2)
        1. Array-Tying Methods
        2. Notational Convenience
      5. Tying Hashes (1/2)
      6. Tying Hashes (2/2)
        1. Hash-Tying Methods
      7. Tying Filehandles (1/3)
      8. Tying Filehandles (2/3)
      9. Tying Filehandles (3/3)
        1. Filehandle-Tying Methods
        2. Creative Filehandles
      10. A Subtle Untying Trap
      11. Tie Modules on CPAN
  9. Part III. Perl as Technology
    1. Chapter 15. Interprocess Communication
      1. Signals
        1. Signalling Process Groups
        2. Reaping Zombies
        3. Timing Out Slow Operations
        4. Blocking Signals
        5. Signal Safety
      2. Files (1/2)
      3. Files (2/2)
        1. File Locking
        2. Passing Filehandles
      4. Pipes (1/2)
      5. Pipes (2/2)
        1. Anonymous Pipes
        2. Talking to Yourself
        3. Bidirectional Communication
        4. Named Pipes
      6. System V IPC
      7. Sockets (1/2)
      8. Sockets (2/2)
        1. Networking Clients
        2. Networking Servers
        3. Message Passing
    2. Chapter 16. Compiling
      1. The Life Cycle of a Perl Program
      2. Compiling Your Code (1/2)
      3. Compiling Your Code (2/2)
      4. Executing Your Code
      5. Compiler Backends
      6. Code Generators
        1. The Bytecode Generator
        2. The C Code Generators
      7. Code Development Tools
      8. Avant-Garde Compiler, Retro Interpreter (1/2)
      9. Avant-Garde Compiler, Retro Interpreter (2/2)
    3. Chapter 17. The Command-Line Interface
      1. Command Processing
        1. #! and Quoting on Non-Unix Systems
        2. Location of Perl
        3. Switches
      2. Environment Variables (1/2)
      3. Environment Variables (2/2)
    4. Chapter 18. The Perl Debugger
      1. Using the Debugger
      2. Debugger Commands (1/2)
      3. Debugger Commands (2/2)
        1. Stepping and Running
        2. Breakpoints
        3. Tracing
        4. Display
        5. Locating Code
        6. Actions and Command Execution
        7. Miscellaneous Commands
      4. Debugger Customization
        1. Editor Support for Debugging
        2. Customizing with Init Files
        3. Debugger Options
      5. Unattended Execution
      6. Debugger Support
        1. Writing Your Own Debugger
      7. Profiling Perl (1/2)
      8. Profiling Perl (2/2)
        1. Devel::DProf
        2. Devel::NYTProf
    5. Chapter 19. CPAN
      1. History
      2. A Tour of the Repository
        1. Creating a MiniCPAN
      3. The CPAN Ecosystem
        1. PAUSE
        2. Searching CPAN
        3. Testing
        4. Bug Tracking
          1. rt.cpan.org
          2. Other bug tracking
          3. perlbug
          4. rt.perl.org
      4. Installing CPAN Modules
        1. By Hand
        2. CPAN Clients
          1. cpan
          2. cpanp
          3. cpanminus
      5. Creating CPAN Distributions
        1. Starting Your Distribution
          1. h2xs
          2. Distribution::Cooker
          3. Module::Starter
          4. Dist::Zilla
        2. Testing Your Modules
          1. Internal testing
          2. External testing
  10. Part IV. Perl as Culture
    1. Chapter 20. Security
      1. Handling Insecure Data (1/3)
      2. Handling Insecure Data (2/3)
      3. Handling Insecure Data (3/3)
        1. Detecting and Laundering Tainted Data
        2. Cleaning Up Your Environment
        3. Accessing Commands and Files Under Reduced Privileges
        4. Defeating Taint Checking
      4. Handling Timing Glitches (1/2)
      5. Handling Timing Glitches (2/2)
        1. Unix Kernel Security Bugs
        2. Handling Race Conditions
        3. Temporary Files
      6. Handling Insecure Code (1/3)
      7. Handling Insecure Code (2/3)
      8. Handling Insecure Code (3/3)
        1. Changing Root
        2. Safe Compartments
          1. Restricting namespace access
          2. Restricting operator access
          3. Safe examples
        3. Code Masquerading As Data
    2. Chapter 21. Common Practices
      1. Common Goofs for Novices
        1. Universal Blunders
        2. Frequently Ignored Advice
        3. C Traps
        4. Shell Traps
        5. Python Traps
        6. Ruby Traps
        7. Java Traps
      2. Efficiency (1/2)
      3. Efficiency (2/2)
        1. Time Efficiency
        2. Space Efficiency
        3. Programmer Efficiency
        4. Maintainer Efficiency
        5. Porter Efficiency
        6. User Efficiency
      4. Programming with Style
      5. Fluent Perl (1/2)
      6. Fluent Perl (2/2)
      7. Program Generation (1/2)
      8. Program Generation (2/2)
        1. Generating Other Languages in Perl
        2. Generating Perl in Other Languages
        3. Source Filters
    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
        1. Verbatim Paragraphs
        2. Command Paragraphs
        3. Flowed Text
      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
  11. Part V. Reference Material
    1. Chapter 25. Special Names
      1. Special Names Grouped by Type
        1. Regular Expression Special Variables
        2. Per-Filehandle Variables
        3. Per-Package Special Variables
        4. Program-Wide Special Variables
        5. Per-Package Special Filehandles
        6. Per-Package Special Functions
      2. Special Variables in Alphabetical Order (1/6)
      3. Special Variables in Alphabetical Order (2/6)
      4. Special Variables in Alphabetical Order (3/6)
      5. Special Variables in Alphabetical Order (4/6)
      6. Special Variables in Alphabetical Order (5/6)
      7. Special Variables in Alphabetical Order (6/6)
    2. Chapter 26. Formats
      1. String Formats
      2. Binary Formats (1/3)
      3. Binary Formats (2/3)
      4. Binary Formats (3/3)
        1. pack
          1. Repetition
          2. Other modifiers
          3. More examples
        2. unpack
      5. Picture Formats (1/2)
      6. Picture Formats (2/2)
        1. Format Variables
        2. Footers
        3. Accessing Formatting Internals
    3. Chapter 27. Functions
      1. Perl Functions by Category
      2. Perl Functions in Alphabetical Order (1/34)
      3. Perl Functions in Alphabetical Order (2/34)
      4. Perl Functions in Alphabetical Order (3/34)
      5. Perl Functions in Alphabetical Order (4/34)
      6. Perl Functions in Alphabetical Order (5/34)
      7. Perl Functions in Alphabetical Order (6/34)
      8. Perl Functions in Alphabetical Order (7/34)
      9. Perl Functions in Alphabetical Order (8/34)
      10. Perl Functions in Alphabetical Order (9/34)
      11. Perl Functions in Alphabetical Order (10/34)
      12. Perl Functions in Alphabetical Order (11/34)
      13. Perl Functions in Alphabetical Order (12/34)
      14. Perl Functions in Alphabetical Order (13/34)
      15. Perl Functions in Alphabetical Order (14/34)
      16. Perl Functions in Alphabetical Order (15/34)
      17. Perl Functions in Alphabetical Order (16/34)
      18. Perl Functions in Alphabetical Order (17/34)
      19. Perl Functions in Alphabetical Order (18/34)
      20. Perl Functions in Alphabetical Order (19/34)
      21. Perl Functions in Alphabetical Order (20/34)
      22. Perl Functions in Alphabetical Order (21/34)
      23. Perl Functions in Alphabetical Order (22/34)
      24. Perl Functions in Alphabetical Order (23/34)
      25. Perl Functions in Alphabetical Order (24/34)
      26. Perl Functions in Alphabetical Order (25/34)
      27. Perl Functions in Alphabetical Order (26/34)
      28. Perl Functions in Alphabetical Order (27/34)
      29. Perl Functions in Alphabetical Order (28/34)
      30. Perl Functions in Alphabetical Order (29/34)
      31. Perl Functions in Alphabetical Order (30/34)
      32. Perl Functions in Alphabetical Order (31/34)
      33. Perl Functions in Alphabetical Order (32/34)
      34. Perl Functions in Alphabetical Order (33/34)
      35. Perl Functions in Alphabetical Order (34/34)
        1. abs
        2. accept
        3. alarm
        4. atan2
        5. bind
        6. binmode
        7. bless
        8. break
        9. caller
        10. chdir
        11. chmod
        12. chomp
        13. chop
        14. chown
        15. chr
        16. chroot
        17. close
        18. closedir
        19. connect
        20. continue
        21. cos
        22. crypt
        23. dbmclose
        24. dbmopen
        25. defined
        26. delete
        27. die
        28. do (block)
        29. do (file)
        30. do (subroutine)
        31. dump
        32. each
        33. eof
        34. eval
        35. exec
        36. exists
        37. exit
        38. exp
        39. _ _FILE_ _
        40. fc
        41. fcntl
        42. fileno
        43. flock
        44. fork
        45. format
        46. formline
        47. getc
        48. getgrent
        49. getgrgid
        50. getgrnam
        51. gethostbyaddr
        52. gethostbyname
        53. gethostent
        54. getlogin
        55. getnetbyaddr
        56. getnetbyname
        57. getnetent
        58. getpeername
        59. getpgrp
        60. getppid
        61. getpriority
        62. getprotobyname
        63. getprotobynumber
        64. getprotoent
        65. getpwent
        66. getpwnam
        67. getpwuid
        68. getservbyname
        69. getservbyport
        70. getservent
        71. getsockname
        72. getsockopt
        73. glob
        74. gmtime
        75. goto
        76. grep
        77. hex
        78. import
        79. index
        80. int
        81. ioctl
        82. join
        83. keys
        84. kill
        85. last
        86. lc
        87. lcfirst
        88. length
        89. _ _LINE_ _
        90. link
        91. listen
        92. local
        93. localtime
        94. lock
        95. log
        96. lstat
        97. m//
        98. map
        99. mkdir
        100. msgctl
        101. msgget
        102. msgrcv
        103. msgsnd
        104. my
        105. new
        106. next
        107. no
        108. oct
        109. open
        110. opendir
        111. ord
        112. our
        113. pack
        114. package
        115. _ _PACKAGE_ _
        116. pipe
        117. pop
        118. pos
        119. print
        120. printf
        121. prototype
        122. push
        123. q/STRING/
        124. quotemeta
        125. rand
        126. read
        127. readdir
        128. readline
        129. readlink
        130. readpipe
        131. recv
        132. redo
        133. ref
        134. rename
        135. require
        136. reset
        137. return
        138. reverse
        139. rewinddir
        140. rindex
        141. rmdir
        142. s///
        143. say
        144. scalar
        145. seek
        146. seekdir
        147. select (output filehandle)
        148. select (ready file descriptors)
        149. semctl
        150. semget
        151. semop
        152. send
        153. setpgrp
        154. setpriority
        155. setsockopt
        156. shift
        157. shmctl
        158. shmget
        159. shmread
        160. shmwrite
        161. shutdown
        162. sin
        163. sleep
        164. socket
        165. socketpair
        166. sort
        167. splice
        168. split
        169. sprintf
        170. sqrt
        171. srand
        172. stat
        173. state
        174. study
        175. sub
        176. substr
        177. symlink
        178. syscall
        179. sysopen
        180. sysread
        181. sysseek
        182. system
        183. syswrite
        184. tell
        185. telldir
        186. tie
        187. tied
        188. time
        189. times
        190. tr///
        191. truncate
        192. uc
        193. ucfirst
        194. umask
        195. undef
        196. unlink
        197. unpack
        198. unshift
        199. untie
        200. use
        201. utime
        202. values
        203. vec
        204. wait
        205. waitpid
        206. wantarray
        207. warn
        208. write
        209. y//
    4. Chapter 28. The Standard Perl Library
      1. Library Science
      2. A Tour of the Perl Library (1/2)
      3. A Tour of the Perl Library (2/2)
        1. Roll Call
        2. The Future of the Standard Perl Library
        3. Wandering the Stacks
    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
        1. Custom Character Names
        2. Runtime Lookups
      11. constant
        1. Restrictions on 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
        1. Signal Handlers
        2. Predefined Signal Lists
        3. Other Arguments to sigtrap
        4. Examples of sigtrap
      32. sort
      33. strict
        1. strict "refs"
        2. strict "vars"
        3. strict "subs"
      34. subs
      35. threads
      36. utf8
      37. vars
      38. version
      39. vmsish
        1. exit
        2. hushed
        3. status
        4. time
      40. warnings
      41. User-Defined Pragmas
  12. Glossary (1/8)
  13. Glossary (2/8)
  14. Glossary (3/8)
  15. Glossary (4/8)
  16. Glossary (5/8)
  17. Glossary (6/8)
  18. Glossary (7/8)
  19. Glossary (8/8)
  20. Index of Perl Modules in This Book (1/2)
  21. Index of Perl Modules in This Book (2/2)
  22. Index (1/9)
  23. Index (2/9)
  24. Index (3/9)
  25. Index (4/9)
  26. Index (5/9)
  27. Index (6/9)
  28. Index (7/9)
  29. Index (8/9)
  30. Index (9/9)

Product information

  • Title: Programming Perl, 4th Edition
  • Author(s): Tom Christiansen, brian d foy, Larry Wall, Jon Orwant
  • Release date: February 2012
  • Publisher(s): O'Reilly Media, Inc.
  • ISBN: 9780596004927