Perl Programming

Course Code: PERL

Duration: 3 days

 
 
 
 

Perl Programming Course Overview

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

Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

Course Objectives

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

Who will the Course Benefit?

Programmers who need to write or maintain scripts in Perl.

Skills Gained

The delegate will learn and acquire skills as follows:

  • Declare variables and initialise them
  • Understand scalar and list context
  • Construct expressions with arithmetic, logical and relational operators
  • Use iterative type statements
  • Use conditional statements
  • Read/write text and binary files
  • Manipulate text using regular expression
  • Use and code subroutines
  • Use built-in library functions
  • Use arrays and hashes
  • Declare and use packages

Perl Programming Training Course

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

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

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
Notes:
  • Course technical content is subject to change without notice.
  • Course content is structured as sessions, this does not strictly map to course timings. Concepts, content and practicals often span sessions.

Requirements

Delegates attending this course should have some previous programming experience and be able to define general programming concepts including: compilation, execution, variables, arrays, sequence, selection, iteration, functions, objects, and classes. Moreover delegates should be able to 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.

Pre-Requisite Courses

Course Reviews

Thanks for a great course. The lecturer is excellent. Very good course I will definitely recommend it to others.

Marcin - IT

This course was really informative and helpful in providing me with a better understanding of the Perl language and how it could benefit me in carrying out certain tasks in my job in a programmatic way. The literature is well written and the instructor did a really good job of explaining the material and offer further advice. Good course overall.

Richard - Data Management Analyst - Marketing

The tutor was very knowledgeable and amenable. The course was well structured and perfectly paced. I would recommend this course to anybody who has basic programming experience and needs guidance on PERL.

Gary - Finance

Enthusiastic lecturer and very approachable, happy to answer all questions and is very knowledgeable on the subject matter. Would definitely recommend to anyone looking for a comprehensive introduction to Perl. Overall a very positive experience on this course.

Stuart - Junior Developer - IT

Wonderful instructor, very knowledgeable and kept me interested and motivated through out the course. Looking forward to taking another course with Stay Ahead.

Ken - AWACS Mission Software Integrator - Defence

Enjoyed the course. Brought some PERL code from work. Now can at least read and understand it. Thank you!

Andrew - Data Management Analyst - Marketing

Public Scheduled Events

Classroom & Live Virtual Instructor-Led Training

Duration: 3 days

Price: £1,495.00 exc. VAT 


Start Date Options Spaces  
31 Jan 2024
StayAhead Virtual Courses available 
Spaces Book Now 
24 Apr 2024
StayAhead Virtual Courses available 
Spaces Book Now 
17 Jul 2024
StayAhead Virtual Courses available 
Spaces Book Now 
16 Oct 2024
StayAhead Virtual Courses available 
Spaces Book Now 
 

Live Virtual Classroom

 
Join live instructor-led classroom training from the comfort of your home or office.
All the convenience and benefits of the classroom experience without the hassle and costs of travel and accommodation.
 
 



Our Customers Include

 
EDF
Amazon
American Express
Aviva
QA
BAE
University of Cambridge
Barnardo's
Scottish Government
Bauer
Bloomberg
BP
HSBC
DVLA
GlaxoSmithKline
Government Campus
Capita
Tui
NHS
Ordnance Survey
Ministry of Defence
Zurich Insurance Group
trainline
Vodafone
 
 



Our Course Curriculum

 
 
 
+44 (0)20 7600 6116
Enquiries@StayAhead.com
Copyright © 2024 StayAhead Training Ltd
Cookies   /   Privacy Policy