Skip to main Content

Perl Programming

  • Course Code PERL
  • Duration 3 days

Course Delivery

Additional Payment Options

  • GTC 19 inc. VAT

    GTC, Global Knowledge Training Credit, please contact Global Knowledge for more details

Virtual Learning Price

£1,495.00

excl. VAT

Request Group Training Add to Cart

Course Delivery

This course is available in the following formats:

  • Company Event

    Event at company

  • Public Classroom

    Traditional Classroom Learning

  • Virtual Learning

    Learning that is virtual

Request this course in a different delivery format.

Course Overview

Top

The Perl Programming course is designed to give delegates the knowledge to develop/maintain Perl scripts.

Virtual Learning

This interactive training can be taken from any location, your office or home and is delivered by a trainer. This training does not have any delegates in the class with the instructor, since all delegates are virtually connected. Virtual delegates do not travel to this course, Global Knowledge will send you all the information needed before the start of the course and you can test the logins.

Course Schedule

Top
    • Delivery Format: Virtual Learning
    • Date: 17-19 July, 2024
    • Location: Virtual

    £1,495.00

    • Delivery Format: Virtual Learning
    • Date: 16-18 October, 2024
    • Location: Virtual

    £1,495.00

Target Audience

Top

Programmers who need to write or maintain scripts in Perl.

Course Objectives

Top

Knowledge of Perl to write,maintain and understand Perl scripts.

Course Content

Top
Perl Programming Training Course Course Contents - DAY 1

Course Introduction

  • Administration and Course Materials
  • Course Structure and Agenda
  • Delegate and Trainer Introductions

Session 1: INTRODUCTION TO PERL

  • What is PERL and why PERL is useful
  • Obtaining PERL

Session 2: PERL BASICS

  • Using Perl
  • Comments in a Perl Script
  • Data Representation in Perl
  • Numbers
  • Strings
  • Comparators
  • Operators
  • Using Standard Input
  • Standard Output

Session 3: ARRAYS AND LISTS

  • What is a List or Array?
  • Assignment
  • Accessing Array Elements
  • The Push and Pop Functions
  • The Shift and Unshift Functions
  • Building an Array from STDIN

Session 4: CONDITIONAL AND CONTROL STRUCTURES

  • Control Structures
  • Statement Blocks
  • Conditional Statements
  • If Keyword
  • Unless Keyword
  • Elsif Keyword
  • Control Statements
  • While Keyword
  • Until Keyword
  • Do Keyword
  • For Statement
  • Foreach Statement

Session 5: ASSOCIATIVE ARRAYS

  • Associative (Hash) Arrays
  • Keys Function
  • Values Function
  • Each Function
  • Delete Function
  • Exist Function
  • Big Arrow
Perl Programming Training Course Course Contents - DAY 2

Session 6: BASIC INPUT AND OUTPUT

  • STDIN
  • The Diamond Operator
  • Print for Normal Output
  • Printf for Formatted Output

Session 7: REGULAR EXPRESSION

  • Regular Expression
  • Multipliers
  • Special Perl Variables in Pattern Matching
  • Substitutions
  • The Split and Join Functions
  • Split Function
  • Join Function
  • Case Statement

Session 8: FUNCTIONS

  • A User Defined Function (Subroutine)
  • Calling a User Function
  • Return Values
  • Passing Arguments to Functions
  • Private Variables in Functions
  • Variables Using Local

Session 9: ADDITIONAL CONTROL STRUCTURES

  • Additional Control Structures
  • Last Statement
  • Next Statement
  • Redo Statement
  • Labeled Blocks
  • Expression Modifiers
  • && and || as Control Structures
Perl Programming Training Course Course Contents - DAY 3

Session 10: FILE HANDLING

  • Filehandles and File Tests
  • Opening and Closing a Filehandle
  • Using Filehandles
  • File Tests

Session 11: PERL DBI/DBD MODULES

  • Perl DBI Module
  • What is DBI
  • Database Handles
  • Statement Handles

Session 12: FILE AND DIRECTORY FUNCTIONS

  • File and Directory Functions
  • Changing Directories
  • Current Directory
  • Globbing
  • Opening and Closing a Directory
  • Reading a Directory Handle
  • Removing a File
  • Renaming a File
  • Making and Removing Directories
  • Modifying Permissions
  • Modifying Ownership

Session 13: MODULES PACKAGES LIBRARIES PRAGMA & PERLDOC

  • Modules
  • Package
  • Library
  • Pragma
  • Perldoc

Course Prerequisites

Top

Delegates attending this course should be able to define general programming concepts including compilation and execution,variables,arrays,sequence,selection and iteration,navigate the filesystem (on the command line ideally),edit and save text files and browse the web. This knowledge can be obtained by attendance on the pre-requisite Introduction to Programming course.

Follow on Courses

Top
  • Apache Web Server (APH)
  • Introduction to MySQL (MYSI)
  • Python Programming 1 (PYP1)
  • Ruby Programming (RUBYP)
  • PHP Programming (PHP)
  • PHP & MySQL for Web Development (PHPMWD)
  • PHP Programming & MySQL for Web Development (PHPPMWD)
  • Ruby on Rails (RUBYR)
Cookie Control toggle icon