|
Perl wasn't originally designed for the Web. In
fact, it was created by Larry Wall in 1986 to create reports
for the his employer. Since then, he (and others) have added
to it and made it into a powerful, full-featured programming
language that does much more than provide the one solution
for which it was created way back when. In fact, nowadays,
people use Perl to perform a wide variety of functions. One
of its most popular uses is to make Web pages interactive.
There are Perl scripts for processing forms, reading and writing
databases, creating guestbooks, creating Web-based BBSs, counting
the number of times a Web page is visited, and much more.
Perl is particularly suited to Web-related tasks for the following
reasons:
- It is a powerful text-manipulation tool. You can take
a long stream of characters (like the information entered
into a Web form) and quickly process the information so
that it can be used, compiled, and stored.
- It is relatively easily moved (ported) from one platform
to another. A program written on a Windows system can often
be easily copied to a Unix machine with few or minor changes.
- It has a reputation as a cool language. Perl programmers
love to brag about how they can do anything with Perl, on
one line, in several different ways.
|