Category: Other programming languages
This course is designed to teach how to use Perl in everyday work – for example, in system administration for purposes of task automation. We focus on Perl’s main strength, namely, suitability for troubleshooting purposes, and to this end cover topics such as regular expressions, word processing, screenscraping, parsing web pages. The participants will also learn how to use the numerous useful Perl libraries, communicate with other processes or databases and communicate over the Internet.
We use Linux during this training; however, example of using Perl in Windows are also provided.
- The first Perl program: Hello World.
- How to write Perl programs
- Running programs on Linux and Windows.
- Basic language syntax. Control statements.
- Arrays, hashes. Context. Special variables.
- Read from stdin, word processing, regular expressions.
- Functions, modules, references.
- Communication with the outside world. Running other programs, reading files, arguments.
- Generating reports.
- How to read documentation and use help.
- Using the CPAN modules.
- Ungzipping, undecoding.
- Communicating with databases.
- Sockets. Telnet communication with devices.
- Sending emails. Using sendmail, direct communication with the SMTP server, attachments, HTML emails.
Audience and prerequisites
We assume that the participants have some experience with programming – for example, wrote simple shell scripts.
Course participants receive completion certificates signed by ALX.