Programming in Perl Technologies Basic/Intermediate (Unix and Windows platforms) COURSE DESCRIPTION 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 available for all Unix platforms and for all Windows variants. COURSE OBJECTIVES Each student will be able to use Perl techniques and commands to write scripts to perform various user and administrative tasks. COURSE TOPICS Overview of Perl Purpose of the language History of the development of Perl Control capabilities: files processes network Writing Perl Scripts Getting Started Types of variables: user-defined lists scalars associative arrays (hashes) system specials global specials Formatting a report Accessing records by key(s) Operators: precedence arithmetic increment/decrement pattern matching relational conditional assignment Subroutines passing arguments using as functions Special Uses of Perl System administration Filename manipulation Text manipulation Process control Miscellaneous Perl Features Efficiency considerations: time space portability programmer maintenance Translating awk and sed scripts to Perl Common errors COURSE DURATION This course normally requires three (3) days, approximately 50% lecture and 50% lab time. COURSE PREREQUISITES For Unix users, completion of the Fundamentals of Solaris/AIX/HP-UX/Linux course is assumed. A knowledge of awk is useful but not mandatory. For Windows users, basic knowledge of a text editor such as Wordpad or Notepad is useful. |