| Synopsis |
This course leads the student from the basics of writing and running Perl scripts to more advanced features such as file operations, report writing, the use of regular expressions, working with binary data files, and writing CGI scripts for web servers. This is a hands-on programming class. All concepts are reinforced by informal practice during the lecture followed by graduated lab exercises which provide practice in the topics just discussed. |
| Target audience | This course is appropriate for advanced users, system administrators and web site administrators who want to use Perl to support their server installations, as well as anyone else who wants to automate or simplify common tasks with the use of Perl scripts. |
| Prerequisites |
Students should already have a working, user-level knowledge of an operating system such as UNIX or Windows 95. While not mandatory, basic skills with at least one other programming language is desirable. When presenting this course to a group of non-programmers, we suggest the class length be extended to four days. |
| Lab exercises |
Students will write numerous Perl scripts to reinforce the major concepts covered in this course. The courses will increase in complexity as more sophisticated techniques are introduced. Exercises will include math, string handling, file I/O, and other real-world topics. As will all our courses, the lab exercises come right after their mention in the lecture. Students do not have to wait until the end of the day to try out what they've just learned. |
1. An overview of Perl
2. Creating and running Perl programs
3. Basic Data and I/O
4. Logic and Loops
5. Lists and Arrays
6. Reading and Writing Text Files
7. List Functions
8. Formatting Output
|
9. Hashes
10. References
11. Working with Text
12. Raw File and Data Access
13. Subroutines
14. Working with the OS
15. CGI scripts and the World Wide Web
|