Preferred method of contact:

Perl 5 Programming Introduction

COURSE TYPE

Foundation

Course Number

431

Duration

4 Days

PDF Add to WishList

This training provides programmers who have experience in a procedural or object-oriented language, such as Visual Basic, C, C++, Java, or a UNIX shell, with an introduction to Perl — a powerful cross-platform, object-oriented scripting language. In this course, you learn to use Perl for developing complete applications, applying built-in functions, and making use of external modules.

You Will Learn How To

  • Create effective, reusable Perl scripts
  • Parse and manipulate text with Perl regular expressions
  • Extract and arrange information from multiple files
  • Solve complex tasks with ease using Perl’s many small operators and functions

Important Course Information

Requirements:

  • Programming experience with either a procedural or object-oriented language such as Visual Basic, C, C++, Java, or a UNIX shell
  • No previous familiarity with Perl is required

Course Outline

  • Introduction to Perl
  • Perl strengths: flexible, fast, rich, easy-to-use operator set
  • Reusable tool building for system admin, text manipulation and the Internet
  • Networking, text filtering, web application programming
  • Perl Syntax Fundamentals

Running Perl programs

  • Invoking UNIX/Linux scripts with #! syntax
  • Starting Perl scripts under Windows via command line

Variable types and contexts

  • Scalars vs. lists vs. hashes
  • Strings and interpolated strings
  • Making sense of special variables
  • Working in the right context

Compound data structures

  • Creating references to anonymous data
  • Building multidimensional arrays
  • Working with multidimensional hashes

Managing files and user input

  • Handling standard I/O streams
  • Parsing command-line arguments
  • Reading and writing data files
  • Pattern Matching and Operators

Perl regular expressions

  • Extracting important text information
  • Building on UNIX regular expressions
  • Altering data with substitutions
  • Performing global and case-insensitive matches

Perl's small operator groups

  • Manipulating arithmetic expressions
  • Replicating and growing strings
  • Saving time with assignment operators
  • Making decisions with logical operators
  • Establishing and using ranges
  • Looping, Decisions and Flow Control

Perl support for conventional flow control constructs

  • Making decisions with if/else/elsif
  • Creating loops with do, while, until, for and foreach

Perl-specific constructs

  • if and unless as statement modifiers
  • Constructing switch statements
  • Subroutines

Writing subroutines

  • Defining and calling a subroutine
  • Passing and receiving parameters
  • Returning values to the caller

Making data work for you

  • Localising variables: my and local
  • Accessing global variables
  • Built-in and Add-on Functions

Common data manipulation requirements

  • String functions for text manipulation
  • Processing arrays with list functions
  • Arranging information with sort

I/O and tool building

  • Manipulating file system entries
  • Reading binary file
  • Dissecting and creating records with split and join
  • Formatting tabular output
  • Perl and Object Orientation

How Perl implements object orientation

  • An introduction to OO in Perl
  • Methods, classes and constructors
  • Surveying and obtaining third-party packages from CPAN

Accessing OO packages

  • Incorporating modules with use
  • Defining a schema to employ OO modules
  • Calling methods with the -> syntax
  • Passing initialisation parameters
Show complete outline
Show Less

Convenient Ways to Attend This Instructor-Led Course

Hassle-Free Enrolment: No advance payment required to reserve your seat.
Tuition Fee due 30 days after you attend your course.

In the Classroom

Live, Online

Private Team Training

In the Classroom — OR — Live, Online

Tuition Fee — Standard: £2095  

AFTERNOON START: Attend these live courses online via Anyware

20 - 23 Feb (4 Days)
2:00 PM - 9:30 PM GMT
Herndon, VA / Online (AnyWare) Herndon, VA / Online (AnyWare) Reserve Your Seat

How would you like to attend?

Live, Online
In-Class

15 - 18 May (4 Days)
2:00 PM - 9:30 PM BST
Rockville, MD / Online (AnyWare) Rockville, MD / Online (AnyWare) Reserve Your Seat

How would you like to attend?

Live, Online
In-Class

21 - 24 Aug (4 Days)
2:00 PM - 9:30 PM BST
Herndon, VA / Online (AnyWare) Herndon, VA / Online (AnyWare) Reserve Your Seat

How would you like to attend?

Live, Online
In-Class

23 - 26 Oct (4 Days)
2:00 PM - 9:30 PM BST
Rockville, MD / Online (AnyWare) Rockville, MD / Online (AnyWare) Reserve Your Seat

How would you like to attend?

Live, Online
In-Class

Guaranteed to Run

Private Team Training

Enroling at least 3 people in this course? Consider bringing this (or any course that can be custom designed) to your preferred location as a private team training.

For details, call 0800 282 353 or Click here »

Tuition Fee

Standard

In Classroom or
Online

Standard

£2095

Private Team Training

Contact Us »

Course Tuition Fee Includes:

After-Course Instructor Coaching
When you return to work, you are entitled to schedule a free coaching session with your instructor for help and guidance as you apply your new skills.

After-Course Computing Sandbox
You'll be given remote access to a preconfigured virtual machine for you to redo your hands-on exercises, develop/test new code, and experiment with the same software used in your course.

Free Course Exam
You can take your Learning Tree course exam on the last day of your course or online at any time after class and receive a Certificate of Achievement with the designation "Awarded with Distinction."

Prev
Next

Training Hours

Standard class hours:
9:00 a.m. - 4:30 p.m.

Last day class hours:
9:00 a.m. - 3:30 p.m.

Free Course Exam – Last Day:
3:30 p.m. - 4:30 p.m.

Each class day:
Informal discussion with instructor about your projects or areas of special interest:
4:30 p.m. - 5:30 p.m.

AFTERNOON START class hours:
2:00 p.m. - 9:30 p.m.


Last day class hours:
2:00 p.m. - 8:30 p.m.


Free Course Exam – Last Day:
8:30 p.m. - 9:30 p.m.


Each class day:
Informal discussion with instructor about your projects or areas of special interest
9:30 p.m. - 10:30 p.m.

“The instructor of the Perl programming course at Learning Tree had the ability to keep the participants focused on the course, and the course was very well structured”.

- S. Carnelli, Customer Support
Ericsson AB

Prev
Next
Chat Now

Please Choose a Language

Canada - English

Canada - Français