Enhance Your Skill Set with Perl
4.3 (190 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
3,835 students enrolled

Enhance Your Skill Set with Perl

See Perl work, Hear Perl explained, Practice Perl to be an even more Skilled, Versatile, and Valuable I.T. Professional
4.3 (190 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
3,835 students enrolled
Created by Darryl Pace
Last updated 1/2020
English [Auto-generated]
Current price: $22.99 Original price: $34.99 Discount: 34% off
3 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 16 hours on-demand video
  • 140 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Students will learn how to use Perl as a tool to solve problems at work and to enhance their resumes. This course uses a multi-sensory approach to teaching Perl. In other words, you will Hear about Perl in lectures, See Perl in action through live demos, touch Perl by downloading and experimenting with any of the dozens of available program examples, and work with Perl Mentally by going through the exercises.
  • You should be comfortable using a computer. Your computer skills should include the following: (1) the ability to get on the Internet and go to websites; (2) the ability to access and use your computer's command line; (3) knowledge of how to navigate folders or directories on your computer; (4) the ability to create and edit text files on a Windows computer, or regular files on a Unix-based computer. Also, some programming knowledge will be very helpful.

This course will teach you Perl through a multi-sensory approach.

- You will hear about Perl in lectures.

- You will see Perl work through live examples.

- You will touch Perl physically by working with the dozens of downloadable working Perl programs you will have access to and that are used in the live examples.  You can use these programs to experiment with and as templates for your own Perl programming.

- You will touch Perl mentally by working on the exercises and writing your own Perl programs.

Some of the basic and intermediate level Perl skills you will learn in this course include:

* Downloading and installing Perl on your computer

* Using Perl to work with numbers and strings.  This could be used to do mathematical calculations and to manipulate strings.

* Read data into your programs (for example, .csv files, data from the keyboard, regular files, etc.), detect data patterns, and alter that data with regular expressions and various Perl functions

* Store lists of data in arrays and hashes

* Use subroutines to create larger programs and to break your programs up into manageable pieces

* Access and use ready-made code (modules)

* Create, modify, read, write, and append files.  Combine files, concatenate files.

* Use File Tests to get information that you can use to make decisions about files, much like you'd do as a systems administrator.

* Use References to Create complex data structures (e.g. arrays of arrays, hashes of hashes, hashes of arrays, and arrays of hashes). 

* See all of the above in action and practice what you learn by writing your own programs

Who this course is for:
  • IT professionals that want to increase their value in the marketplace by adding Perl knowledge to their skill set.
Course content
Expand all 115 lectures 15:58:56
+ Introduction
4 lectures 10:00

You can download all of the downloads for this course from the resources section of this video.  Or, you can download the files from the resources sections of the lessons as you go through the course.

Course Downloads
+ Creating Your First Perl Program
1 lecture 08:22

In this lecture, you will write and run your first Perl program -- the helloworld.pl program.  We'll examine each statement in the program so that what it does is clearly understandable.  You'll also see the helloworld program run on both a Unix and a Windows computer.

Hello, World Created, Explained, and Run
+ Getting Data Into Your Perl Program
10 lectures 01:41:44
Perl Number Literals -- what they are and how to work with them

After completing this lecture, you will know what String Literals are, you'll know what String Scalars are, you will have gotten exposure to Perl's string operators, you'll understand the differences in how Perl interprets strings between single quotes versus those between double quotes, you'll have gotten a view of Perl's "backslash escape" sequences and you'll know how to make use of them.  In addition, you'll do an exercise using strings.

Perl String Literals and String Scalars

You will go over a solution to the exercise presented in the last video.  Also, to help lock in your new knowledge, you will get a quick review of what's been covered so far concerning strings in Perl.

String Exercise Solution and Perl Strings Review

After going through this lecture, you'll know how to get user input into your Perl programs by using the "line input operator".  Also, you'll know what the "chomp" function is, what it's for, and how to use it.  You will also begin to see how what you've learned so far can be used to create a program (the "calculator" program), and how pseudo code can be useful in creating your Perl programs.

Getting User Input into Your Perl Programs

You'll learn about Perl's "Binary Assignment Operators", how to assign values to variables, how to use Perl's operators on variables, and how to use Perl to solve a classic Computer Science problem -- the "Exchange the values in Two Variables" problem.

Perl Operators and Solving a Classic Computer Science Problem with Perl

After completing this lecture, you'll know about "if" control structures and Perl's string and numerical comparison operators.  You'll also know how Perl decides if a condition is "true" or "false".  You will use this knowledge as you continue to build the "calculator" program.

If control structures and Comparison Operators

You'll learn to create and use while loops in Perl, you will learn about Perl operator precedence and associativity, you will see how to set your own operator precedence and associativity by using parentheses, and you will see how to complete the "calculator" program.

While loops, Operator Precedence and Associativity
Exercising Your New Knowledge!
Exercise Key
Section 4 Challenge program
+ Working with Arrays in Perl
8 lectures 58:21
Lists, Arrays, and Array Operators
Push and Pop programs to play with, plus an Exercise using the Splice operator
Getting to Array Values, More Array Operators
Looping through Arrays with "foreach" and "each"
How Perl views the "Context" of Arrays
Exercises Using Arrays
Array Exercise Solutions

These are additional array related exercises.  They are optional and for those that want more opportunities to exercise newly acquired knowledge.

More (Optional) Array Exercises
+ Perl Subroutines
6 lectures 43:48
Subroutines - What they are and how to create them
Subroutine Example
Subroutine Variables, Return Values, and Odds & Ends
Subroutine Exercise
Subroutine Exercise Key
More (Optional) Subroutine Exercises
+ Perl Input and Output
9 lectures 01:06:23
The "Line Input Operator" and Perl's Favorite Default Variable
The "Diamond Operator" method of data input
Output using the "print" operator
Output using the "printf" operator
Input and Output using File Handles
Ensuring File Handles open successfully, and the "say" operator
Input, Output Exercise
Input, Output Exercise key

Additional exercises to help lock in input and output knowledge.

More (Optional) Input and Output Exercises
+ The "Hash"
7 lectures 37:36
Intro to Hashes in Perl
Getting Values into and out of Hashes
Hash Interpolation
Hash Examples
Exercise using Hashes
Hash Exercise Key

Additional 'hash' related activities to exercise your new hash knowledge.

More (Optional) Hash Exercises
+ Regular Expressions
20 lectures 02:24:54
Introduction to Regular Expressions
Regular Expression Example # 1
Regular Expression "Back References" and "Character Classes"
Regular Expression Example # 2
Regular Expression Exercises 1
Regular Expressions Exercise 1 Key
The Pattern Match Operator and Match Modifiers
Modifiers Continued along with "Anchors"
Regular Expression Exercises # 2
Regular Expression Exercises # 2 Key
The "Binding" Operator and "Match Variables"
Regular Expression Exercises # 3
Regular Expression Exercises # 3 Key
More on Match Variables
General Quantifiers and Regular Expression Precedence

These are additional exercises that will help sharpen skills using regular expressions.  Two of the exercises use real client data so the student gets experience dealing with an actual real-world data set.

More (Optional) Regular Expression Exercises
The Perl "Substitution", "Split", and "Join" operators
Perl Greediness; Substitution, Split, and Join Examples
Regular Expression Exercises #4 and #5
Regular Expression Exercises #4 and #5 Solutions
+ More Control Structures
8 lectures 57:28
Unless and Until
Unless Exercise and Solution
Naked Control Blocks, Auto-Increment and Auto-Decrement
"For" and the Ternary Operator
Example Program and Exercise
Another program and Exercise Challenge
Logical Operators
Logical Operator Program and Exercise