This Introduction to Perl gets you started with the basics of programming in the Perl environment. We cover the very basics through to the beginning of modular coding in your own programs to enable ease of maintenance and readability.

ON COMPLETION

  • Understand the Perl environment and syntax
  • Create useable scripts
  • Understand some of the weird syntax and expressions
  • Work with files and other processes
  • Use simple data structures
  • Make decisions and flow control

WHO SHOULD ATTEND?

New comers to programming or those wanting to know where to start.

COURSE WORK

The course work is based around a 50/50 approach to lecture and hands on giving the attendee the chance to really work with the language and see its potential. The practical work is based around real life scenarios as much as possible and is intended to make the delegate feel more at easy with working with the language and boost their confidence about working it. It will also give you lots of example code to use in existing projects.

PRE-REQUISITS

None, although if you have done any programming with a structured language before you will be at an advantage.

DURATION: 3 DAYS

PRICE: Call for latest

1st Day: Start 9:30am - Finish 5:00pm
Subsequent Days: Start 9:00am - Finish 5:00pm

COURSE CONTENT

Language Basics

Why use Perl , History, Environment, Help, simple script and script structure.

Variables

Types, definitions, Arrays and single values, interpolation.

Working with Arrays and Hashes

How to manipulate them together and useful things that can be done with them individually.

Expressions and Operators

Numeric operators, precedence, string operators, conversion and more.

Functions

Built in functions of the Perl interpreter for working with numbers, strings and arrays.

Flow Control

Loops and conditions, variable scope

Input and Output

Working with files, command line arguments, and working with applications.

Basic Regular Expressions

Understand what an expression is, where to use them, and how to construct some simple pattern matching.

Subroutines

Making readable code, better maintenance, reusable code.

Report Formats

Creating and using reports

Lots of examples and practical questions to give you a chance to try things out. Feel free to bring along your own ideas to try.