1. 数字
    1. Checking Whether a String Is a Valid Number
    2. Comparing Floating-Point Numbers
    3. Rounding Floating-Point Numbers
    4. Converting Between Binary and Decimal
    5. Operating on a Series of Integers
    6. Generating Random Numbers
    7. Generating Different Random Numbers
    8. Taking Logarithms
    9. Multiplying Matrices
    10. Using Complex Numbers
    11. Converting Between Octal and Hexadecimal
    12. Putting Commas in Numbers
    13. Printing Correct Plurals
    14. Calculating Prime Factors
  2. 字符串
    1. Accessing Substrings
    2. Establishing a Default Value
    3. Exchanging Values Without Using Temporary Variables
    4. Converting Between ASCII Characters and Values
    5. Processing a String One Character at a Time
    6. Reversing a String by Word or Character
    7. Expanding and Compressing Tabs
    8. Expanding Variables in User Input
    9. Controlling Case
    10. Interpolating Functions and Expressions Within Strings
    11. ndenting Here Documents
    12. Reformatting Paragraphs
    13. Escaping Characters
    14. Trimming Blanks from the Ends of a String
    15. Parsing Comma-Separated Data
    16. Soundex Matching
    17. fixstyle
    18. psgrep
  3. 日期和时间
    1. Finding Today's Date
    2. Converting DMYHMS to Epoch Seconds
    3. Converting Epoch Seconds to DMYHMS
    4. Adding to or Subtracting from a Date
    5. Difference of Two Dates
    6. Day in a Week/Month/Year or Week Number
    7. Parsing Dates and Times from Strings
    8. Printing a Date
    9. High-Resolution Timers
    10. Short Sleeps
    11. hopdelta
  4. 数组
    1. Specifying a List In Your Program
    2. Printing a List with Commas
    3. Changing Array Size
    4. Doing Something with Every Element in a List
    5. Iterating Over an Array by Reference
    6. Extracting Unique Elements from a List
    7. Finding Elements in One Array but Not Another
    8. Computing Union, Intersection, or Difference of Unique Lists
    9. Appending One Array to Another
    10. Reversing an Array
    11. Processing Multiple Elements of an Array
    12. Finding the First List Element That Passes a Test
    13. Finding All Elements in an Array Matching Certain Criteria
    14. Sorting an Array Numerically
    15. Sorting a List by Computable Field
    16. Implementing a Circular List
    17. Randomizing an Array
    18. words
    19. permute
  5. 散列
    1. Adding an Element to a Hash
    2. Testing for the Presence of a Key in a Hash
    3. Deleting from a Hash
    4. Traversing a Hash
    5. Printing a Hash
    6. Retrieving from a Hash in Insertion Order
    7. Hashes with Multiple Values Per Key
    8. Inverting a Hash
    9. Sorting a Hash
    10. Merging Hashes
    11. Finding Common or Different Keys in Two Hashes
    12. Hashing References
    13. Presizing a Hash
    14. Finding the Most Common Anything
    15. Representing Relationships Between Data
    16. dutree
  6. 模式匹配
    1. Copying and Substituting Simultaneously
    2. Matching Letters
    3. Matching Words
    4. Commenting Regular Expressions
    5. Finding the Nth Occurrence of a Match
    6. Matching Multiple Lines
    7. Reading Records with a Pattern Separator
    8. Extracting a Range of Lines
    9. Matching Shell Globs as Regular Expressions
    10. Speeding Up Interpolated Matches
    11. Testing for a Valid Pattern
    12. Honoring Locale Settings in Regular Expressions
    13. Approximate Matching
    14. Matching from Where the Last Pattern Left Off
    15. Greedy and Non-Greedy Matches
    16. Detecting Duplicate Words
    17. Expressing AND, OR, and NOT in a Single Pattern
    18. Matching Multiple-Byte Characters
    19. Matching a Valid Mail Address
    20. Matching Abbreviations
    21. urlify
    22. tcgrep
    23. Regular Expression Grabbag
  7. 文件访问
    1. Opening a File
    2. Expanding Tildes in Filenames
    3. Making Perl Report Filenames in Errors
    4. Creating Temporary Files
    5. Storing Files Inside Your Program Text
    6. Writing a Filter
    7. Modifying a File in Place with Temporary File
    8. Modifying a File in Place with -i Switch
    9. Modifying a File in Place Without a Temporary File
    10. Locking a File
    11. Flushing Output
    12. Reading from Many Filehandles Without Blocking
    13. Storing Filehandles in Variables
    14. Printing to Many Filehandles Simultaneously
    15. Opening and Closing File Descriptors by Number
    16. Copying Filehandles
    17. lockarea
  8. 文件内容
    1. Reading Lines with Continuation Characters
    2. Counting Lines (or Paragraphs or Records) in a File
    3. Processing Every Word in a File
    4. Reading a File Backwards by Line or Paragraph
    5. Trailing a Growing File
    6. Picking a Random Line from a File
    7. Randomizing All Lines
    8. Reading a Particular Line in a File
    9. Processing Variable-Length Text Fields
    10. Removing the Last Line of a File
    11. Processing Binary Files
    12. Using Random-Access I/O
    13. Updating a Random-Access File
    14. Reading a String from a Binary File
    15. Reading Fixed-Length Records
    16. Reading Configuration Files
    17. Testing a File for Trustworthiness
    18. tailwtmp
    19. laston
  9. 目录
    1. Getting and Setting Timestamps
    2. Deleting a File
    3. Copying or Moving a File
    4. Recognizing Two Names for the Same File
    5. Processing All Files in a Directory
    6. Globbing, or Getting a List of Filenames Matching a Pattern
    7. Processing All Files in a Directory Recursively
    8. Removing a Directory and Its Contents
    9. Renaming Files
    10. Splitting a Filename into Its Component Parts
    11. symirror