Learn your way! Get started

Perl, Part 1 of 3: Variables and Conditions

with expert Chris Penick


Watch trailer


Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack

Release date 3/30/2016
Level Beginner
Runtime 1h 20m
Closed captioning Included
Transcript Included
eBooks / courseware Included
Hands-on labs Included
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. 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.

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.

Learning Paths

This course is part of the following LearnNowOnline SuccessPaths™:
PERL Development

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: 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)