next up previous
Next: 3. Web/CGI programming Up: 4. What can Perl Previous: 1. Easy text processing

2. Working with files and with the system

Perl allows you to work easily with the system. As well as built-in functions and operators for dealing with files, directories, processes and users, Perl has several ways for you to interact directly with the system: shell-like backticks, and the system() and exec() functions.

However, Perl modules are available to save you from having to use system-dependent commands and to prevent common security mistakes. Everything from NNTP protocols to socket communications can be done easily with these modules.

Kirrily Robert