fbpx
Call us on  08000 199337 From overseas +44 (0)1344938011

Perl Programming Course

Course Duration: 3 days

Book online today or if you need any assistance or help chosing the right course for you, please call our team on 08000 199337 and we will help point you in the right direction.

Virtual

Course Duration: 3 days

From £1,267.00 +Vat
View dates and book

Enquire Now

Classroom

Course Duration: 3 days

From +Vat
View dates and book

Enquire Now

Course Overview

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

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

Who will the course benefit?

Programmers who need to write or maintain scripts in Perl.

Entry Requirements

Familiarisation with programming concepts is useful, this knowledge can be obtained by attendance on the Introduction to Programming course.

Follow-on Courses

• Apache Web Server
• Introduction to MySQL
• Python Programming 1
• Ruby Programming
• PHP Programming
• PHP & MySQL for Web Development
• PHP Programming & MySQL for Web Development
• Ruby on Rails

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.

Exam

There is no exam requirement for this course.

Course Objectives

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

Syllabus – Key points

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

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

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

Reviews

There are no reviews yet.

Be the first to review “Perl Programming Course”

Course dates

Start Date Exam Included Price (excl VAT) Qty  

Frequently asked questions

A Pearson VUE exam voucher enables you to book and sit your exam at your local Pearson VUE testing centre at a time and date convenient to you.  Pearson VUE centres are worldwide, and you will be able to choose the closest testing centre to you. You then go along to the test centre with your photo ID at the specified date and time and you will then take an electronic exam. Your exam voucher will have an expiration date and your exam must be sat before this date as these vouchers cannot be extended.

X