Schedule today!Call Peggy at
(800) 252-0652
Contact Us
More UNIX
Related Courses
Programming in PERL: Basic/Intermediate
- Recommended Duration:
- 3 Days
- Version
- SUN Solaris (V7-V10), IBM AIX V4.3, 5L (V5.1 and V5.2), HP-UX (V11 and V11i), and SGI IRIX V6.5, Linux (Red Hat * SuSe)
- Benefits
-
This course teaches both the programming interface and the techniques that can be used to write procedures in PERL (Practical Extraction and Report Language). PERL is now available for all system platforms, but is usually not provided by the system's manufacturer.
Each student will be able to use PERL techniques and commands to write scripts to perform various user and administrative tasks.
- Audience
- Developers, Programmers, and System Administrators needing to use and/or create Perl scripts.
- Prerequisites
- Completion of the "Fundamentals of Unix: Basics" or "Unix System Administration: Essential Operations" course or equvalent experience is assumed (if working on a Unix-based PERL platform). Usage of NOTEPAD for Win32-based PERL is assumed. A knowledge of awk is useful but not mandatory.
- Major Topics
-
- Overview of PERL and its purpose
- History of PERL
- Control capabilities: files, processes, network
- Obtain, build, and install PERL
- Obtaining modules from CPAN
- Writing PERL Scripts
- Layout of a PERL procedure
- Execution methods
- Types of variables: scalars, lists (arrays), associative arrays (hashes), PERL built-ins, globals
- Operators: precedence, arithmetic, increment/decrement, pattern matching, relational, conditional, assignment
- PERL Programming Constructs: Looping statements and Decision statements
- Regular expressions review
- Expressions common to PERL/Unix
- Expressions unique to PERL
- PERL File I/O
- Interfacing PERL with the Operating System
- Subroutines in PERL procedures
- Using as functions
- Passing arguments (scalars and arrays)
- Introduction to references
- Using PERL Extension Functions: procedure location, extension types, require statement, use statement
- Exercises
-
There are several hands-on machine exercises. All five Unix platforms will be available for lab
exercises.