Introduction to Perl Programming
Introduction to Perl Scripting is an Introductory -level practical, hands-on basic Perl training course class that will enable students to solve everyday problems with the Perl programming language. Geared for students new to Perl, this class was developed for people who are new to the Perl programming language and need a tool to help them in solving administrative type tasks and ad hoc requests/queries. Students will immediately be able to use Perl to complete basic tasks in the real world.
Course Objectives
Working in a hands-on learning environment, guided by our engaging Perl expert practitioner, students will learn about and explore:
Introduction to Perl
- Basic Concepts
- Your first program
Scalars
- Numbers
- Strings
- References
Arrays
- Create them
- Operators, Functions, and Interpolation
Control Structures
- Conditionals
- Looping
Hashes
- What is hash?
- Functions and Slices
- Performance Considerations
Basic I/O
- STDIN
- STDOUT
- Diamonds
Regular Expressions
- Basic Expressions
- Matching
- Substitution
- Translation
Functions
- Defining a Function
- Using a Function
- Arguments and Scope
Course Prerequisites
This course is appropriate for individuals who are new to Perl and need a quick jump-start to start using Perl for everyday tasks. This class is not directed towards application development, but rather toward the development of tools that can be used to solve problems the IT Professional runs into every day.
Outline
Session: Language Overview
- Perl Overview
- The Perl Interpreter
- Running a Perl Application
- The Perl Help System
- Our First Perl Statement
Session: Language Basics
- Language Basics
- Basic Language Rules
- Comments
- Scalar Variables
- Printing Scalar Variables
- Quoting Scalar Variables
- <STDIN> as a Scalar
- Cleaning up after Scalars
- “Special” Scalars
- Safe Coding with Scalars
- Scalar Operators
Session: Arrays and List Data
- Arrays and List Data
- What is a List?
- Representing a List
- List Variables
- Assignment
- Retrieving List Values
- List Slices
- Special List Variables
- <STDIN> as a List
- Built-In List Functions
- The reverse Function
- The sort Function
- The push and pop Functions
- The shift and unshift Functions
Session: Control Structures and Looping
- Control Structures and Looping
- Statement Blocks
- The if Statement
- The Truth in Perl
- The unless Statement
- The if/unless modifiers.
- The while Statement
- The until Statement
- The do {} while/until Construct
- The for Statement
- The foreach Statement
- Modifying Looping Behavior
- The last Statement
- The next Statement
- The redo Statement
Session: Hash Data
- Hash Data
- What is a Hash?
- Hash Variables
- Built-in Hash Variables
- Built-in Hash Functions
- The keys Function
- The values Function
- The each Function
- The defined Function
- The exists Function
- The delete Function
Session: Input/Output
- Input/Output
- STDIN, STDOUT, and STDERR
- More on STDOUT
- Formatted Output Using printf
- Format Control Strings
- Here Documents
- Using the <> (Diamond) Operator
- Creating Data Streams
Sorry! It looks like we haven’t updated our dates for the class you selected yet. There’s a quick way to find out. Contact us at 502.265.3057 or email info@training4it.com
Request a Date