Search our courses
Training

Perl is a scripting language which allows for rapid prototyping of projects formerly done with a programming language or a shell. It incorporates all the functionality of C (including a UNIX system interface), the Shells, grep, sed, and awk. The topics in the course will aid all computer users – from end user to programmer to administrator alike.

Introduction to Perl Programming

Course Code

GTPL1

Duration

4 Days

Course Fee

POA

Accreditation

N/A

Target Audience

This Introduction to Perl Programming training course is for programmers, end users, system administrators, network administrators, CGI script writers, or anybody who is interested in automating tasks but doesn’t want to learn all the details of a full blown programming language.

Attendee Requirements

Students should have some experience with either a programming language (preferably C), or any of the UNIX shells. These skills are taught in the following courses:

If you have any questions or doubts as to whether you meet the pre-requisites for this course, or indeed are wondering which course best suits you, please Contact Us to discuss your suitability for course attendance.

Expand all

Course Description

Perl is a scripting language which allows for rapid prototyping of projects formerly done with a programming language or a shell. It incorporates all the functionality of C (including a UNIX system interface), the Shells, grep, sed, and awk. The topics in the course will aid all computer users – from end user to programmer to administrator alike.

Course Outline

Chapter 1: Getting Started with Perl

What is Perl?

Where Can I Get Perl?

A Simple Perl Program

Simple I/O

Perl Variables

Control Flow – Decisions

Control Flow – Loops

Altering Loop Control Flow

Statement Modifiers

What Is True And What Is False?

The Special Variable $_

Chapter 2: Perl Operators

Introduction

Table Of Perl Operators

Arithmetic Operators

String Operators

Relational Operators

Logical Operators

Bitwise Operators

Assignment Operators

The Conditional Operator

Range Operator

String Functions

The eval Function

Chapter 3: I/O

Introduction

String Literals

The print Function

Here Documents

The printf Function

The sprintf Function

Filehandles

Opening Disk Files

File Open Errors

The die and warn Functions

File Operators

Chapter 4: Arrays

Basic Concepts

Assigning Values To An Array

Accessing Array Elements

Array Functions

push and pop

shift

sort, reverse, and chop

split and join

grep

splice

Command Line Arguments

Chapter 5: Associative Arrays

Basic Concepts

Associative Array Functions

Updating Associative Arrays

Accessing Environment Variables

Chapter 6: Subroutines

Calling Subroutines

Passing Arguments to Subroutines

Returning Values from Subroutines

The require Function

Packages and Modules

The @INC Array

Predefined Subroutines

Comparison Subroutines for Sorting

Chapter 7: Pattern Matching and Regular Expressions

Introduction

Regular Expression Syntax

The Match Operator

Regular Expression Meta-Characters

Anchors

Single Character Matches

Some Special Issues

Character Classes

Multiple Character Matches

Alternation

The Substitution Operator

The Translation Operator

Chapter 8: Accessing System Resources

Introduction

File and Directory System Calls

The stat Function

The utime Function

The fork Function

The exec and wait Functions

Handling Signals

The system Function

Command Substitution

Opening Pipe Files

Chapter 9: Generating Reports with Perl

Formats

Formatting Examples

Multi-Line Values

Multi-Line Text Blocks

Sending a Report to a File

The select Function

The Special Variable $~

Top-of-Page Formats

Bottom-of-Page Formats

A Sample Report

Chapter 10: Perl and CGI

What is CGI?

Web Servers and Browsers

HTML

HTML Forms

Form Elements

A Typical CGI Application

CGI Input

CGI Output

Using the CGI.pm Module

CGI Environment Variables

Also Discussed:

Command Line Options and Debugging

Running Perl on the Command Line

Summary of Command Line Options

The Perl Debugger

Perl Debugger Commands

Other Debugging Aids

The strict Module

More About Regular Expressions

Remembered Matches

Greedy Regular Expressions

Nested Remembered Patterns

Matching for Multiple Occurrences in a Loop

References and Data Structures

References

Syntactic Sugar

Anonymous Arrays

Higher Dimensional Arrays

References and Subroutines

Comparing Perl 4 and 5

Operators

Packages

Typeglobs

Advanced Perl

What is in the Advanced Perl Course

A Taste of Object Orientation

A Taste of Network Programming

Perl Development Using Eclipse

Features of the Perl Plugin

Creating a Perl Project

Running a Perl Program

Preferences – EPIC

Preferences – Editor

Preferences – Content Assist

Preferences – Folding

Preferences – Mark Occurrences

Preferences – Templates

Templates

Preferences – Source Formatter

Preferences – Task Tags

Accessing Perl Documentation

Project Properties

Debugging

Testing Regular Expressions

Learning Path

There are a number of options of suitable follow-on courses, depending on your business needs. Please Contact Us for further details.

Ways to Attend
  • Attend a public course, if there is one available. Please check our Schedule, or Register Your Interest in joining a course in your area.
  • Private onsite Team training also available, please Contact Us to discuss. We can customise this course to suit your business requirements.

Private Team Training is available for this course

We deliver this course either on or off-site in various regions around the world, and can customise your delivery to suit your exact business needs. Talk to us about how we can fine-tune a course to suit your team's current skillset and ultimate learning objectives.

Private Team Training | Contact us

Technical ICT learning & mentoring services

Private Team Training

Our instructors are specialist consultants with vast real world experience and expertise allowing them to design and deliver client-focused courses for your organisation.

Learn more about our Private Team Training

What Our Clients Say

"Absolutely fantastic training. Thoroughly enjoyed it thanks to our highly enthusiastic tutor.  It wouldn't be an understatement to say that it was the best professional training that I have ever received."

 

Customised Linux with Networking

Live Online -  February 2022

 


“It was very positive. This course was 4 days but covered a semester worth of work if it was done in college. The labs were relevant and delegates were provided the lab/coursebook for further study and practice after the course finished. GuruTeam's course was excellent and provides a deeper understanding of the architecture and how it all works. The hands-on aspect was very helpful as it helped solidify the concepts as I went along."

 

Kubernetes Administration Certification - GTLFK

Live Online September 2024

 

 

 

“The Instructor was very knowledgeable, laid back and very approachable during the course. The environment setup was second to none.  Very easy to jump in and follow along with minimal pre-req setup."

Kubernetes Administration Certification - GTLFK

Onsite May 2024

 

“The experience was complete for me. I like how the training was sequenced - the slides organization, the examples and explanations and then the exercises. Time for exercises and support by the Instructor was great plus answering the questions and going out for answers and coming back with examples as brilliant. I loved how much I refreshed and how I learned and got inspired to improve stuff at work.”

 

Docker - GTDK1

Live Online December 2024

 

“Great instructor, who encouraged active participation. The breakout groups and exercises kept the group engaged and the content relevant to our own products”.

 

Site Reliability Engineering Foundation - GTDSRE

Live Online January 2022

 

 

 

"Intelligence is the ability to avoid doing work, yet
getting the work done"

Linus Torvalds, creator of Linux and GIT

Technical ICT learning & mentoring services

About GuruTeam

GuruTeam is a high-level ICT Learning, Mentoring and Consultancy services company. We specialise in delivering instructor-led on and off-site training in Blockchain, Linux, Cloud, Big Data, DevOps, Kubernetes, Agile, Software & Web Development technologies. View our Testimonials

Download our eBrochure
Our Accreditation Partners
  •  
  •  
  •  

 

Upcoming Courses

Kubernetes Admin

21st - 24th January 2025
28th - 31st January 2025
10th - 13th February 2025
24th - 27th February 2025

 Live Online
 GMT +01:00  09:30 - 17:00 hrs

This Kubernetes Administration
Certification training course is
suitable for anyone who wants
to learn  the skills necessary to build and administer a Kubernetes cluster.

 

LEARN MORE

RUST PROGRAMMING

21st - 24th January 2025
28th - 31st January 2025
10th - 13th February 2025
24th - 27th February 2025

 Live Online
 GMT +01:00  09:30 - 17:00 hrs

This Rust programming training course will help you understand what Rust applications look like, how to write Rust applications properly, and how to get the most out of the language and its libraries.
 

Learn More

INTRO TO PYTHON 3 

ADVANCED PYTHON 3

21st - 23rd January 2025
11th - 13th February 2025

Live Online
GMT +01:00  09:30 - 17:00 hrs

Python is a powerful and popular object-oriented programming/
scripting language with many high quality libraries.

 

Learn More

 GO LANG TRAINING

21st - 24th January 2025
28th - 31st January 2025
10th - 13th February 2025
24th - 27th February 2025

Live Online
GMT +01:00  09:30 - 17:00 hrs

This Go language programming training course will help you understand how Go works, and immediately be more productive. If you are building a team using Go, this will be a great opportunity to get your team on the same page and speaking the same language.

Learn More

Newsletter

Stay up to date, receive updates on scheduled dates, new courses, offers, and events.

Subscribe to our Newsletter