Perl Programming

Perl Programming

3 days @ £1,195.00 exc. VAT 
Course Code: PERL


S8

Perl Programming Course Overview

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

Skills Gained

The delegate will learn to:

  • 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.

Course Objectives

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

Requirements

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


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


Quick Search...

New Search     Enquiry

Home Let Us Call You Enquiry



Powered by findcourses

Place a Booking
StayAhead Locations

If the course you require is not scheduled at the venue of your choosing, please give us a call on 020 7600NoSkype 6116 to see if we can accommodate your requirement.


Quick Search...


New Search     Enquiry


Oracle User Group - Membership Benefits

Oracle User Group - Membership Benefits

Course Certification

Our independent Oracle, Solaris & Red Hat Linux curriculums helps prepare delegates for official certification.

SQL & No SQL

Java, MySQL, JavaScript & Web Development

UNIX, AIX, Solaris & HP-UX

UNIX 
AIX 
HP-UX 

Linux, Red Hat, Oracle Linux, SUSE & LPI

Business Analysis, ITIL & Prince2

See what our clients say . . .

Excellent course and well explained giving good examples and workshops to practice.

Kendrick - Senior Developer - Academic - February 2017

More Reviews

+44 (0)20 7600 6116
Copyright © 2016 StayAhead Training Ltd
sales@stayahead.com