Course Search:

Request more details:


Perl Programming Introduction

Description:
This intensive course provides a solid introduction to the Perl programming language. Hands-on exercises reinforce key concepts
  • Cost: Price on application
  • Duration: 4 Days
  • This course is not available as part of our public schedule but can be provided on a customised client specific basis.
Prerequisites:
Familiarity with C, prodecural programming, or shell scripting is beneficial.
Getting Started:
Running Perl programs
Basic statement syntax
Comments, variables, basic operators and functions
Reading from standard unput, writing to standard output and standard error
Operators:
Arithmetic, assignment, relational, logical, bitwise, and string operators
Precedence and associativity
Flow Control:
If-else elsif, and unless statements
The warn(), die(), and exit () functions
While and until loops
Working with Scalars:
Scalar variables: character strings
Escape sequences
Working with Lists:
Defining and using list variables
Assigning list elements to other variables
Command line arguments
Working with list ranges and list slices
Working with Hashes:
Creating hashes from lists
Adding and deleting hash elements
Reading and Writing to Files:
Opening a file
Determining file status
Using pipes
Pattern Matching:
Substitution and translation operators
Creating and Using Subroutines:
Formatting Output:
Value formats
File and Directory Functions:
File access, link, and directory manipulation functions
Process, Scalar, and List Functions:
Process, mathematical, string, scalar, list manipulation, and time functions
System Variables and Options:
Separator and pattern match variables
-n and -p options
References:
Creating multidimensional arrays
Packages and Modules:
Importing modules into a program
Object-Oriented Programming in Perl:
Creating and using classes


Dublin: 01 6627700 - Cork: 021 4319010 - Limerick: 061 311982

© Professional Training Solutions Limited 1996-2012
CRO No. 252390 - Unit 22, Westland Square, Pearse Street, Dublin 2, Ireland.