Perl (Part 1 of 3): Variables and Conditions
Interactive

Perl (Part 1 of 3): Variables and Conditions

Biz Library
Updated Feb 04, 2020

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.


Lesson 1:

  • What Is Perl?
  • Perl History
  • Why Use Perl?
  • As Larry Wall Says...
  • Do You Have Perl?
  • Which Perl?
  • General Syntax
  • Demo: Perl Version
  • Demo: Hello World
  • Demo: Manually Run Script.

Lesson 2:

  • Numeric Literals
  • String Literals
  • Arithmetic Operators
  • Augmented Operators
  • Logical Operators
  • String Operators
  • Demo: Arithmetic Operators
  • Demo: String Operators
  • Demo: Coercion.

Lesson 3:

  • String Functions
  • Demo: String Functions.

Lesson 4:

  • Variable Context
  • Types of Variables
  • Default Scalar Variable $_
  • Default Array Variables
  • Variable Interpolation
  • Demo: Variables.

Lesson 5:

  • If... Else Statements
  • Boolean Logic
  • Unless... Else Statements.

Lesson 6:

  • For Loops
  • Foreach Loop
  • While Loop
  • Until Loop
  • Foreach Loops and Arrays
  • Moving Around in a Loop
  • Conditional Logic Shortcuts
  • Demo: For Loop
  • Demo: More Loops.