This course is for anyone wishing to gain an understanding of the Perl Language and how to use it effectively. This includes system administrators, programmers, web masters and developers.
This course assumes the delegate is a competent programmer in another programming language such as C, C++, C#, VB, or shell scripting and is familiar with the use of the selected platform, Linux, Unix or Windows.
3 days. Hands on.
This highly practical course discusses Perl in Linux, UNIX and Windows environments. It provides delegates with the knowledge and skills necessary to write programs quickly and easily both for the Unix/Linux system administrator and for the developer.
Delegates are taught how to write effective programs in Perl, use standard flow control constructs, use appropriate data structures, references and regular expressions. A major aim is to understand how to utilise the many Perl modules available, including networking and text processing.
On completion of the course delegates will be able to:
- Write effective Perl programs.
- Manage scalar, list and hash data.
- Utilise user input/output and files.
- Structure code with subroutines, built-in functions and modules.
- Understand the use of references.
- Understand the optional object-oriented features of Perl.
- Write programs to effectively use modules.
Background, rationale and purpose of Perl.
Perl program structure, program execution, documentation with perldoc.
Data, Variables and Operators.
Control structures – Conditions and iterations.
Pattern matching with regular expressions.
Subroutines, variable scope and modules.
Managing classes and objects.
Use of References.
Use of Modules.