13.5. Emailing and Perl

13.5.1. My first Perl script

Similar to ASP and PHP, Perl is a server language for writing script programs for the World Wide Web. It was developed in the late 1980s by Larry Wall to run initially in a UNIX environment and later adopted in many other operating systems. Perl scripts in this book will have the file extension .pl. This section is not an introduction to the language, but rather a collection of simple Perl program fragments for email applications.

Although Perl is available on PC and Microsoft systems, we will follow the original UNIX design. It’s assumed that you have a general UNIX (or LINUX) environment. With the basic UNIX structure and its naming convention, you should have a directory in which XHTML ...

Get Practical Web Technologies now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.