• Online, Self-Paced
Course Description

This course covers the fundamental components of the Perl Language. The individual demonstrations and accompanying commentary will support your understanding of the Perl language, assist in developing your Perl programming skills, and act as a primer for the content of course #2.

Learning Objectives

The Perl Language

  • start the course
  • describe the Perl language
  • work with Perl code formatting, naming conventions, and sigils
  • work with Perl scalar variables
  • work with numerical data types in Perl
  • work with strings in Perl
  • work with the undef property and empty strings
  • work with namespaces and understand scope in Perl

Perl Programming Control

  • work with if...else, unless, and ternary conditional statements
  • work with foreach and C-style for loops
  • work with while and do...while statements
  • work with next and last statements in Perl loops
  • work with Perl given…when statements
  • create and work with Perl Arrays

Perl Arrays and Hashes

  • display arrays and add a value to an array
  • insert and remove array values, use pop, push, splice, and array slices
  • create and access hashes
  • work with arithmetic, unary, and assignment operators

Perl Operators

  • work with precedence, associativity, and parentheses
  • work with comparison operators, including exists, eq, gt, ne, and le
  • work with logical and bitwise operators
  • work with variable value coercion: strings and numbers

Perl Functions

  • create and work with Perl subroutines
  • create and work with function parameters: passing values and references
  • work with variable scope
  • utilize state to control variable scope
  • work with anonymous subroutines in Perl
  • describe built-in Perl functions

Practice: Programming in Perl

  • work with the fundamental constructs of the Perl language

Framework Connections

The materials within this course focus on the Knowledge Skills and Abilities (KSAs) identified within the Specialty Areas listed below. Click to view Specialty Area details within the interactive National Cybersecurity Workforce Framework.

Feedback

If you would like to provide feedback for this course, please e-mail the NICCS SO at NICCS@hq.dhs.gov.