Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now

Perl 5 Essential Training

with Bill Weinman

Video: Welcome

Explains the fundamentals of simple and complex programming in Perl 5.
Expand all | Collapse all
  1. 34m 35s
    1. Welcome
      1m 44s
    2. Using the exercise files
      1m 46s
    3. Prerequisites
      2m 34s
    4. What is Perl?
      4m 31s
    5. Installing ActiveState's ActivePerl on Windows
      4m 1s
    6. Installing Eclipse on Windows
      11m 34s
    7. Installing Eclipse on Mac
      8m 25s
  2. 19m 2s
    1. Hello World
      3m 23s
    2. Counting lines in a file
      2m 47s
    3. Using a loop in Perl
      4m 34s
    4. Using subroutines in Perl
      5m 55s
    5. Using Perl's documentation
      2m 23s
  3. 20m 10s
    1. Understanding how Perl uses whitespace
      4m 37s
    2. Terminating statements with semicolons
      4m 53s
    3. Creating comments
      5m 12s
    4. Best practices for formatting code
      5m 28s
  4. 43m 16s
    1. Understanding values and variables
      2m 18s
    2. Declaring numeric variables
      6m 31s
    3. Declaring character string variables
      7m 36s
    4. Declaring lists and arrays
      6m 15s
    5. Pulling slices from arrays
      3m 31s
    6. Understanding hashes and associative arrays
      6m 54s
    7. Getting value pairs using the each function
      4m 27s
    8. Understanding the undef value
      5m 44s
  5. 16m 4s
    1. Assigning values to variables
      2m 24s
    2. Using statements and expressions
      5m 12s
    3. Combining statements into blocks
      2m 54s
    4. Understanding scope
      5m 34s
  6. 23m 42s
    1. Understanding conditional statements
      1m 57s
    2. Creating conditionals with if
      5m 3s
    3. Extending conditionals with else
      2m 9s
    4. Extending conditionals with elsif
      4m 53s
    5. Building if statements with postfix conditionals
      3m 8s
    6. Creating negative conditionals with unless
      2m 47s
    7. Using the ternary conditional operator
      3m 45s
  7. 20m 47s
    1. Understanding loops
    2. Creating loops with while
      2m 16s
    3. Creating loops with until
      2m 55s
    4. Iterating lists with foreach
      2m 53s
    5. Iterating lists with for
      4m 49s
    6. Using loop control statements
      2m 21s
    7. Building loops with postfix statements
      4m 41s
  8. 17m 25s
    1. Understanding special variables
      2m 29s
    2. Using special variables
      5m 23s
    3. Working with special file handles
      6m 39s
    4. Using special constants
      2m 54s
  9. 35m 56s
    1. Performing basic math with arithmetic operators
      4m 33s
    2. Creating conditionals with comparison operators
      4m 36s
    3. Combining conditionals with logical operators
      8m 18s
    4. Reading file metadata with file test operators
      4m 50s
    5. Creating a sequence with the range operator
      2m 52s
    6. Combining strings with the concatenation operator
      2m 18s
    7. Streamlining strings with quote operators
      4m 5s
    8. Understanding operator precedence
      4m 24s
  10. 26m 8s
    1. Understanding regular expressions
      1m 18s
    2. Searching and replacing text with regular expressions
      7m 2s
    3. Extracting matches with parentheses
      3m 47s
    4. Matching wildcards
      5m 53s
    5. Matching classes of characters
      4m 33s
    6. Creating arrays with split
      3m 35s
  11. 15m 41s
    1. Understanding subroutines
      1m 5s
    2. Defining and calling subroutines
      4m 33s
    3. Using arguments with subroutines
      3m 7s
    4. Understanding scope and "my" variables
      3m 27s
    5. Returning values from a subroutine
      3m 29s
  12. 23m 39s
    1. Understanding values and references
      4m 26s
    2. Defining array references
      6m 40s
    3. Defining hash references
      6m 0s
    4. Building mixed data structures
      6m 33s
  13. 24m 17s
    1. Understanding streams and files
      1m 52s
    2. Using file handles
      6m 1s
    3. Using the object-oriented interface for handling files
      8m 41s
    4. Working with binary files
      7m 43s
  14. 22m 42s
    1. Manipulating strings with built-in functions
      7m 3s
    2. Working with numbers
      4m 21s
    3. Manipulating lists and arrays with built-in functions
      5m 35s
    4. Retrieving and formatting time
      5m 43s
  15. 29m 35s
    1. Leveraging code with modules
      1m 39s
    2. Understanding object-oriented and procedural modules
      2m 24s
    3. Creating modules
      9m 51s
    4. Understanding object and instance data
      5m 38s
    5. Installing modules from CPAN on Mac and Unix
      5m 37s
    6. Installing modules from CPAN on Windows
      4m 26s
  16. 9m 10s
    1. Understanding POD
      1m 30s
    2. Documenting with POD
      4m 56s
    3. Exploring a POD document
      2m 44s
  17. 11m 14s
    1. Using Perl 5.10
      1m 39s
    2. Displaying text with say
      1m 23s
    3. Selecting from multiple choices with given and when
      5m 6s
    4. Keeping persistent variables with state
      3m 6s
  18. 20m 36s
    1. Exploring CGI
      5m 28s
    2. Using a database
      8m 21s
    3. Developing a module library
      6m 47s
  19. 40s
    1. Goodbye

please wait ...
Perl 5 Essential Training
Video duration: 0s 6h 54m Intermediate


In Perl 5 Essential Training, author Bill Weinman explains the fundamentals of programming in Perl, a flexible and powerful programming language that’s well suited for projects as varied as simple scripts to complex web applications. This course covers the details of the language, from conditionals, loops, and data structures to regular expressions, functions, and object-oriented programming. A quick-start guide is included for experienced developers who want to get up and running with Perl 5 fast. Exercise files are included with the course.

Topics include:
  • Understanding Perl's general syntax
  • Using data types effectively
  • Defining and calling subroutines
  • Modular and object-oriented programming
  • Prefix and postfix loops and conditionals
  • Performing math, manipulating strings, and working with complex data structures
  • Understanding regular expressions
  • Formatting code: best practices
  • Exploring the new features in Perl 5.10
Developer Web


Hi! I'm Bill Weinman, and I'd like to welcome you to Perl 5 Essential Training. Perl is a very flexible and powerful programming language that's well suited for a variety of projects, from simple scripts to complex web applications. In this course, I'll show you how to use Perl and how to take advantage of its unique and powerful features. I'll start by giving you an overview of Perl, so you can get started right away. This Perl Quick Start is designed for the experienced programmer who wants to leverage their existing knowledge to get up to speed with Perl quickly and with as little detail as necessary.

Then we'll get right into the details of the language, syntax and structure, conditionals, loops, operators, data structures, subroutines, and regular expressions. I'll show you how to do common tasks in Perl including File I/O, databases, CGI and web development. And I'll show you how to use modules to leverage your work and the work of others to get your projects done faster, and with less effort. Finally, I'll walk you through some real-world examples of working Perl code, so you can see how the pieces fit together, and to help you get started on your own projects.

This course is intended for users who already have some programming knowledge. If you have experience in at least one other modern programming language, this course is for you. I've been a programmer since the 70s, and I've been using Perl since the early 90s. I'm glad to be able to share the knowledge and experience I've gained along the way, so that you can write better applications today. Now let's get started with Perl 5 Essential Training.

Find answers to the most frequently asked questions about Perl 5 Essential Training .

Expand all | Collapse all
please wait ...
Q: In the Chapter 9 movie "Matching classes of characters," the author states that \w and \W are used to match both any word character and whitespace. Is the same code used for both word matching and whitespace matching?
A: No. While \w and \W are used to match any word in a string, the correct code for whitespace matching is \s or \S.





Don't show this message again
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.

Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now Already a member? Log in

* Estimated file size

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.

Mark all as unwatched Cancel


You have completed Perl 5 Essential Training.

Return to your organization's learning portal to continue training, or close this page.


Upgrade to View Courses Offline


With our new Desktop App, Annual Premium Members can download courses for Internet-free viewing.

Upgrade Now

After upgrading, download Desktop App Here.

Become a Member and Create Custom Playlists

Join today and get unlimited access to the entire library of online learning video courses—and create as many playlists as you like.

Get started

Already a member?

Log in

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

You started this assessment previously and didn’t complete it.

You can pick up where you left off, or start over.

Resume Start over

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Thanks for signing up.

We’ll send you a confirmation email shortly.

Sign up and receive emails about and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from

Sign up and receive emails about and our online training library:

Here’s our privacy policy with more details about how we handle your information.

submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.