Northern Ireland based Beckinridge specialises in Technology, IT, Sales and Management training for the ICT, Corporate, SME and Government Sectors.

  Public Courses
General Training

  On-Site Courses
Tailored Training

  ILM Qualifications
Level 4 & 5 Awards

Articles & Reviews

  Team Building
Activities & Events

  Why Choose Us?
Our Clients
Our Services
Quality and Expertise
Financial Support
Course Tailoring
Our Support Team
Talk To Us

Join Mailing List

 Perl Programming & Application

  Course Code - IB-103   Duration - 4 Days

Because if its ability for dealing with large amounts of data at speed, Perl has become widely used for scanning text files and extracting information.

The capabilities of Perl have been applied by a wide range of professionals in both systems support and programming fields for various applications including manipulating data, parsing, generating HTML, database access and CGI programming.

This 4-day course provides a comprehensive introduction to the major aspects of the Perl programming language and the typical applications which make use of it, especially CGI and accessing databases.

Follow-on Courses

Those who want to learn about further Perl constructs, in particular Perl's approach to complex data structures and object-oriented programming, should attend our 2-day course 'Advanced Perl Programming' ('IB-101').


 Who Should Attend?


Anyone who needs to build a firm foundation in the language and gain an introduction to the capabilities of Perl in the areas of CGI Programming and Database access.




Attendees should have programming experience with any language that uses C-like syntax such as C, C++, Java or JavaScript. 

Those without experience in a C-like language should attend the course 'Fundamentals for Perl Programming' ('IB-102'). It is recommended that programmers who have experience in languages such as Visual Basic, Pascal or Delphi attend 'Fundamentals for Perl Programming' ('IB-102') before taking this course. 

Attendees should have an understanding of the concepts and use of literals and variables, expressions and operators, including precedence and associativity, if.else statements and looping statements using both while and for keywords.


 Course Content


- Program structure
- Standard input, output and error
- Input and output functions and 

Data types, expressions, operators
- Integers, floats, strings
- Scalars, variables, assignment 
  and scope
- Creating expressions using 
- Conversion functions

Basic control structures
- Relational expressions
- if and related tests
- Looping
- Simple subroutines

Other control structures
- Expression modifiers
- Using logical operators as control 
- foreach with ranges
- Labels and other loop constructs

Normal arrays & lists
- Defining normal arrays
- Assigning and extracting values
- foreach with arrays
- Array dimensions, extending and 
  reducing arrays...pop, shift, push, 
- Other array functions: sort, 
  reverse, split, join

Functions & advanced subroutines
- Creating your own functions and 
- return value
- Passing arguments.the @_ array
- my() and local() functions

Associative arrays or hashes
- Defining associative arrays
- Assigning and extracting hash 
- Associative array functions...key, 
  values, each, exists, delete

Reading & writing text files
- Filehandles and opening and 
  closing files
- Reading/writing data
- die, warn, exit and the special 
  variable $!
- File tests, e.g. -x FILENAME

Special variables
- Global special variables
- Array and hash special variables
- Regular and per-filehandle special 

File & Directory Manipulation
- Emulating operating systems 
- Globbing and directory handles

format & the write() function
- Defining a format
- Invoking a format...the write() 
- Top-of-page format
- Changing the filehandle using 

Regular expressions
- Match operators and range 
- Metacharacters
- Alternation, grouping, 
  character classes and 

Text processing & manipulation
- Simple string functions 
- Advanced string functions
- Substitution operator
- Transliteration operator
- Regular expression 
- Advanced array functions. 
  splice, map, grep
- using @ARGV for multi-file 
- in-place editing

Introduction to references
- Creating references; 
- Multidimensional arrays via 
- Anonymous data structures
- More complex data structures

Packages & module basics
- package, use and require 
- standard library modules and 
- specialised import lists
- The CPAN

Perl & CGI programming
- The CGI specification
- Using Perl with a web server 
- Preparing a Perl program for 
  web server use
- and related modules
- Unbundling data from the 
- Sending dynamic HTML 
- Multiple data items
- Multi-page applications

Real & pseudo-database processing
- Unix DBM databases and DBM 
- Pseudo databases
- Database modules: DBI/DBD
- Win32::ODBC
- Combining CGI and database 

© Beckinridge Ltd.

Site by redrhino

Beckinridge specialises in Technology, IT, Sales and Management training for the ICT, Corporate, SME and Government Sectors in Northern Ireland.
Privacy Policy | Capability, Improvement, Through Training & Development