Preface
Contents:
How This Tutorial Is Organized
Typographical Conventions
How to Contact Us
Acknowledgments
Perl is a developing language that is useful. By this, we mean that people don't learn Perl just because they think they should, they learn Perl because they want to get something done.
This tutorial is for Perl developers who need to get things done. It's for readers who have dabbled a little in Perl and want a single reference for all their needs. This tutorial is part reference, part guide to the world of Perl. We cover the language itself, but also the Perl modules that are most popular - modules for CGI, database manipulation, network developing, graphical interfaces, and Win32 integration.
How This Tutorial Is Organized
This tutorial has eight parts, as follows:
- Part I, Getting Started
- Introduction to Perl, gets you oriented to Perl and the Perl community.
Installing Perl, gives you some pointers on getting Perl and its modules installed on your machine. This chapter introduces you to the CPAN archive and discusses using the CPAN module to retrieve the latest versions of Perl modules.
- Part II, Language Basics
- The Perl Interpreter, is about using the perl program itself. It covers environment variables, command-line options, and the differences in executing the Unix and Win32 versions of Perl.
The Perl Language, is the turbo-charged tutorial/reference to the Perl language. If you've never coded before, then you might need a tutorial that goes more slowly. But if you have some experience with other developing languages, this chapter should teach you enough to start writing Perl programs.
Function Reference, is a reference chapter for each of the built-in functions to Perl.
Debugging, is about using the Perl debugger to help locate the rare errors in your programs.
- Part III, Modules
- Packages, Modules, and Objects, gives a quick introduction to Perl packages, Perl modules, and object-oriented developing in Perl.
Standard Modules, is a reference to each of the modules included in the standard Perl distribution.
- Part IV, CGI
- CGI Overview, is a brief introduction to the concepts behind CGI developing.
The CGI.pm Module, covers the very popular CGI.pm module, which is deemed essential by many CGI developers.
Web Server Developing with mod_perl, is about mod_perl, the Apache module that can be used to significantly improve CGI performance and also allows you to embed Perl code into the Apache server itself.
- Part V, Databases
- Databases and Perl, gives a brief introduction to DBM databases in Perl, and provides a reference to DBI, the Database Independence package that gives you a consistent interface to many different database packages.
- Part VI, Network Developing
- Sockets, explains socket developing and how to use the IO:Socket module.
Email Connectivity, covers the Net::SMTP and Net::POP3 modules for sending and reading email, and also the Mail modules for manipulating email messages.
Usenet News, explains the NNTP protocol and the Net::NNTP module for reading and posting Usenet news, and the News::Newsrc module for managing .newsrc files.
FTP, explains the FTP protocol, the Net::FTP module for transferring files by FTP, and the Net::Netrc module for managing .netrc files.
The LWP Library, covers the most commonly used parts of the huge LWP library of modules for HTTP transactions.
- Part VII, Perl/Tk
- Perl/Tk, is a reference to the Tk extension to Perl, for creating graphical user interfaces from within a Perl program.
- Part VIII, Win32
- Win32 Modules and Extensions, talks about the many Perl modules for working with the Win32 operating systems.
PerlScript, is about the ActiveX scripting tool, which is loosely based on Perl.