This course is for anyone who needs a results-oriented introduction to Perl 5.
It is designed to give you a solid background in the Perl language, covering all of its major features and functions.
Perl was originally developed by Larry Wall in 1987 as a general-purpose Unix scripting language to make report processing easier.
Since then, it has undergone many changes and revisions. Perl 6, which began as a redesign of Perl 5 in 2000, eventually evolved into a separate language and both languages continue to be developed independently by different development teams.
The Perl languages borrow features from other programming languages including
- shell script (sh),
- AWK, and
They provide powerful text processing facilities without the arbitrary data-length limits of many contemporary Unix commandline tools, facilitating easy manipulation of text files. Perl 5 gained widespread popularity in the late 1990s as a CGI scripting language, in part due to its regular expression and string parsing capabilities.
Perl was originally thought of as a natural enhancement for the popular csh shell script notation
of Unix, Perl was at first primarily used for text manipulation. Its maturity in the early 1990s coincided with the rise of the Web, and it rapidly became the most popular programming
language for HTML form processing and otherWeb development as well.
Perl has been called a "Swiss Army" knife for its features coupled with its considerable programming power and flexibility.
The common phrase among hardened Perl programmers is: "There is more than one way to do it."
Most programming goals can be achieved in Perl in at least three ways, depending on which language features and techniques the programmer prefers to use. It is not uncommon for an experienced Perl programmer to reach for the manual when reading code written by another programmer.
Perl has also been called "duct tape for the Web", emphasizing its utility for producing applications, Web sites, and general program fixes
for a wide variety of problems and domains.
In this module we give a brief history of Perl, including major events preceding the creation of Perl that set the historical stage for
it. We provide an overview of the language, including example code to show how its features are used in practice.
We discuss Web site programming in Perl using the CGI (Common Gateway Interface)
standard and show several
database interface methods in Perl.
In the next lesson, some of the features of the Perl Programming Language will be covered.
Then, the following two lessons will walk you through the steps of downloading
and installing it on your machine.