Perl, Part 1 of 3: Variables and Conditions
Interactive

Perl, Part 1 of 3: Variables and Conditions

LearnNow Online
Updated Aug 23, 2018

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. Penick will explore the functions and operators present in Perl and teach you how to automate tasks and write code in ways that are intuitive to you.

Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.


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

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.

Video Runtime

80 Minutes

Time to complete

300 Minutes

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: Coercion (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)
;