![]() |
Perl: Introduction
Duration: 3 to 4 days |
Participants: Programmers, technical managers, and system and network administrators. |
Objectives:
Upon successful completion of this course you will be able to:
- Use PERL to perform data processing tasks, file and directory management, and some system administration tasks. |
Overview: This course presents the most-widely used capabilities of PERL. The course material includes more than 130 complete programs, including input and output, illustrating the use of PERL. |
Prerequisites: Working knowledge of UNIX, and ability to create and modify a small file. |
Format: Lecture and discussion (50%) with programming exercises (50%). |
Topic Outline:
- Scalar Literals and Variables string Numeric Common operations - Array Literals and Variables List arrays Associative arrays Common operations - Control Structures and Related Operators If Unless While Until For Foreach Last Next Redo Labeled Blocks - Expression Modifiers If Unless While Until - Print and Printf Print formats - File Operations Opening Reading/Writing Closing Stat and Lstat File Tests Reading Files Specified as Command Line Arguments - Directory Operations Opening Reading Closing Globbing Hard and soft links - Functions Defining and calling subroutines Use of local variables - Regular Expressions Matching Substitute Split Join - UNIX-Related Operations Time-related operations The system() operator Working with the environment Use of backquotes File handles for processes |
|