Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

These are the sample files for Learning Perl, 7th Edition.

Learning Perl, 7th Edition

  • Chapter 5, Input and Output

    • We provide several files that you can use with Exercise 5.1 so you can see your tacs program in action.
  • Chapter 8, Matching with Regular Expressions

  • Chapter 10, More Control Structures

  • Chapter 14, String and Sorting

    • numbers.txt is a list of numbers you can sort in the exercises. Use this with Exercise 14.1.
    • is a snippet of the Perl program so you don’t have to type the first name/last name hash yourself. Use this with Exercise 14.2.
  • Chapter 16, Process Management

    • We provide a command that you can use in place of the Unix date command. Our version is Pure Perl.
  • Chapter 17

    • sample_text.txt is a short Flintstones story that you can use to search for character names. Use this with Exercise 17.1.
  • For old editions

    • The program helps you figure out which implementation you are using. This chapter is no longer in the book.

Learning Perl Exercises

I have a companion book called either Learning Perl Student Workbook (from O'Reilly) or Learning Perl Exercises (updated version but not from O'Reilly). I have some files for that.