Perl Programming.
Perl Programming.
Synopsis
This course is designed to give delegates the knowledge to develop/maintain
Perl scripts.
Course Objectives
The delegate will learn to:
Suitable for
Programmers who need to write or maintain scripts in Perl.
Prerequisites
Experience of programming in another programming language is required.
Course Contents
Introduction and Basic Syntax
1
Operators and Control Flow
More Operators
2
List Context and Array Values
Pattern Matching
3
Subroutines
• What is a subroutine
• How to define and invoke subroutines
• Argument passing and return values from a subroutine
• Typeglob for argument passing
• Local and global variables in subroutines
• How to nest subroutines
• How to use recursive subroutines
• Special system subroutines - AUTOLOAD, BEGIN and END
• Labs
Associative Array
Multithreading
• What is Multithreading
• How to check the perl interpreter for multi thread capability
• Create a simple Multi Thread program
• More complex example of multi threading
• Problems with multi thread programs
• Labs
4
Arrays & Hashes
• Multi-dimensional arrays
• Hashes containing arrays
• Hashes of hashes
• Labs
• Namespaces
• Scope resolution operator
• Package declaration
• Use and require
• Data hiding and exporting
• Finding libraries and modules - @INC and %INC
• Setting the search path
• Lab
Miscellaneous
• Perl Internals
• Development structure
• Interpreter structure
• Internal Variables
• Perl compiler
• Fundamental operations