Learn your way! Get started

Perl Fundamentals

with expert Chris Penick


Watch trailer


Course at a glance


Release date 4/11/2016
Level
Runtime 4h 20m
Closed captioning Included
Transcript Included
eBooks / courseware N/A
Hands-on labs N/A
Sample code Included
Exams Included


Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More



Course description

With the long-awaited upgrade to the popular scripting language Perl finally here, there’s no better time than the present to dive in and learn. Join CISSP-certified trainer Chris Penick as he explains how Perl’s human-friendly linguistic approach makes it an easy language for novice coders to learn.

Prerequisites

This is an entry level course. Some amount of programming experience will be helpful and speed up your learning but you can jump right into this course at any level.

Meet the expert

Chris Penick is CISSP certified and has been a consultant and CISSP trainer in the technology industry for the past 20 years. During that time, he has worked as Principal Learning Consultant for Symantec, webmaster for the FDA, cyber-warfare scenario developer, technical investigator and forensic analyst for a private security firm. His past government clients include all branches of the United States Military, the Department of Commerce, the IRS, the U.S. Custom and Immigration Service, the Executive Office of the President, and state and local governments in Maryland, Michigan, Virginia, and the District of Columbia. His corporate clients include Guess, Inc., EMC, Raytheon, Lockheed Martin, and the Discovery Channel.

Course outline



Introduction to Perl

Introduction to Perl (15:09)
  • Introduction (00:16)
  • What Is Perl? (00:29)
  • Perl History (01:20)
  • Why Use Perl? (00:48)
  • As Larry Wall Says... (00:06)
  • Do You Have Perl? (01:03)
  • Which Perl? (00:34)
  • General Syntax (02:08)
  • Demo: Perl Version (01:21)
  • Demo: Hello World (03:49)
  • Demo: Manually Run Script (03:00)
  • Summary (00:10)
Literals and Variables (20:00)
  • Introduction (00:17)
  • Numeric Literals (02:23)
  • String Literals (00:59)
  • Arithmetic Operators (00:59)
  • Augmented Operators (00:48)
  • Logical Operators (00:51)
  • String Operators (01:11)
  • Demo: Arithmetic Operators (05:52)
  • Demo: String Operators (04:50)
  • Demo: (01:30)
  • Summary (00:16)
String Functions (05:48)
  • Introduction (00:17)
  • String Functions (00:36)
  • Demo: String Functions (04:44)
  • Summary (00:10)
Variables (11:51)
  • Introduction (00:16)
  • Variable Context (01:57)
  • Types of Variables (01:50)
  • Default Scalar Variable $_ (00:39)
  • Default Array Variables (00:50)
  • Variable Interpolation (00:48)
  • Demo: Variables (05:16)
  • Summary (00:12)
Conditionals (06:25)
  • Introduction (00:17)
  • If... Else Statements (02:20)
  • Boolean Logic (02:13)
  • Unless... Else Statements (01:19)
  • Summary (00:14)
Loops (20:59)
  • Introduction (00:17)
  • For Loops (01:05)
  • Foreach Loop (01:28)
  • While Loop (01:01)
  • Until Loop (01:14)
  • Foreach Loops and Arrays (01:28)
  • Moving Around in a Loop (01:57)
  • Conditional Logic Shortcuts (01:36)
  • Demo: For Loop (04:53)
  • Demo: More Loops (05:41)
  • Summary (00:14)

Data Structures, Input and Output

Lists (19:11)
  • Introduction (00:17)
  • Lists (00:58)
  • List Element Access (01:20)
  • Computing Elements (01:14)
  • Maximum Element (01:25)
  • Going out of Bounds (00:46)
  • List Literals (01:33)
  • List Assignment (01:41)
  • Arrays (01:23)
  • Find the Last (01:12)
  • Array Interpolation (02:17)
  • Sorting Arrays (01:29)
  • Manipulating Arrays and Strings (00:12)
  • Strings to Arrays: Split (01:11)
  • Split on Any Character (00:23)
  • Split on Multiple White Space (00:53)
  • Join (00:33)
  • Adding or Removing Items (00:04)
  • Summary (00:14)
List Demos (18:19)
  • Introduction (00:17)
  • Adding or Removing Items (01:18)
  • Demo: Add or Remove Items (05:12)
  • Demo: Arrays and Scalars (04:09)
  • Demo: Interpolating Arrays (03:50)
  • Demo: Split and Join (03:14)
  • Summary (00:17)
Command Line Input (16:54)
  • Introduction (00:18)
  • Simple Input (01:58)
  • Chomp (00:24)
  • Chop (00:33)
  • Simple Output (01:48)
  • Command Line Arguments (01:26)
  • Demo: Input and Output (06:13)
  • Demo: Command Line (03:55)
  • Summary (00:16)
File Input and Output (17:27)
  • Introduction (00:16)
  • Handling Files (02:21)
  • Handling Files, Cont. (02:20)
  • File Test Operators (01:12)
  • Demo: Working with Files (05:02)
  • Demo: Diamond and File Checks (06:00)
  • Summary (00:13)
Hashing (17:51)
  • Introduction (00:22)
  • Hashes (01:25)
  • Adding a New Key-Value Pair (00:46)
  • Changing the Value of a Key (01:33)
  • Hashes and Foreach (00:48)
  • Hashes and Sorting (00:19)
  • Demo: Create Hash (05:45)
  • Demo: Hash Sort Check (02:11)
  • Demo: Hash with Foreach (04:25)
  • Summary (00:13)

Suroutines and Regex

Subroutines (07:43)
  • Introduction (00:18)
  • The undef Value (00:59)
  • Detecting undef (00:58)
  • Define a Subroutine (01:26)
  • Invoke a Subroutine (00:27)
  • Return Values (00:47)
  • Demo: Subroutines (02:33)
  • Summary (00:12)
Arguments and Return Values (18:47)
  • Introduction (00:19)
  • Arguments (02:50)
  • Private Subroutine Variables (01:45)
  • Variable Argument Lists (02:16)
  • Using My (01:22)
  • Use Strict (01:21)
  • Return Values (01:11)
  • Demo: Arguments (02:39)
  • Demo: Return (04:39)
  • Summary (00:22)
Simple Regular Expressions (13:01)
  • Introduction (00:18)
  • Regular Expressions (02:12)
  • A Simple Pattern (00:52)
  • Match Binding Operator (01:49)
  • The Match Operator (01:14)
  • Demo: Simple Pattern (03:21)
  • Demo: Match Bind Operator (03:00)
  • Summary (00:12)
Metacharacters (28:19)
  • Introduction (00:17)
  • Regular Expression Types (00:58)
  • Match Position (00:30)
  • Match a Set of Characters (00:54)
  • Ranges of Regular Expressions (00:47)
  • Ranges of Digits (00:09)
  • Negating Ranges (02:06)
  • Dot Metacharacter (01:02)
  • Literal Metacharacters (01:25)
  • Patterns Provided in Perl (02:19)
  • Pipe Alternatives (02:07)
  • Question Mark Quantifier (00:55)
  • Asterisk Quantifier (02:55)
  • Plus Quantifier (00:27)
  • Demo: Regex (04:27)
  • Demo: Regex Patterns (06:37)
  • Summary (00:16)
Text Manipulations (22:28)
  • Introduction (00:17)
  • Substituting Text (01:07)
  • Special Match Variables (01:00)
  • Capture Groups (03:14)
  • Global Modifier (01:23)
  • Demo: Substitution (04:30)
  • Demo: Greedy Substitution (04:47)
  • Demo: Before and After (05:53)
  • Summary (00:13)