One of the methods that the web server uses to pass information to a cgi script is through environmental variables. These are created and assigned appropriate values within the environment that the server spawns for the cgi script. This page highlights some of the most commonly used ones, along with a brief description and notes on possible uses for them.
This article provides a short CGI program that can print every environment variable it knows.
An introduction to sorting, and how to write your own sorting functions easily with perl. Includes some very common examples of sorts.
In this Part 10 of “The Perl You Need to Know” series, you will be shown how to work with Perl’s list and hash data structures.
In this Part 21 of “The Perl You Need To Know” series, it covers the Benchmark module — the handy Perl stopwatch that allows you to time, optimize, and slim down on code.
The author writes “CGI::Application builds upon the bedrock of CGI, adding a structure for writing truly reusable Web-applications. CGI::Application takes what works about CGI and simply provides a structure to negate some of the more onerous programming techniques that have cast an unfavorable light upon it. CGI::Application code is so universal and non-proprietary that it works exceedingly well on any operating system and Web server that supports Perl and CGI. The CGI::Application structure makes it possible for authors to distribute, for the first time, fully functional and sophisticated Web-applications via CPAN.
A mainstay of the Perl culture, JAPH is a short script that produces the output “Just another Perl hacker.” Although written for the beginner or intermediate Perl programmer, this article examines a few simple examples of the JAPH genre that will surprise and engage even the most seasoned devotee.
Based on the Darwinian principle of survival of the fittest, genetic programming uses mutation and replication to produce algorithms for creating ever-improving computer programs. In this column, you’ll get to know the genetic algorithm in simple terms. This article provides Perl implementations for some specific tasks, which you can adapt for generic use. To demonstrate the genetic algorithm, the author breeds numbers for fitness to a formula, and letters to form English words.
Learn how to use Perl, xev, and algorithms to monitor who is currently at the keyboard. Keystroke dynamics is a new field that enables identification of individuals through statistical analysis of their typing patterns. This article presents tools and code allowing you to move beyond a single application of keystroke dynamics, and monitor your entire X Window System environment continuously for characteristic patterns of the typist.
In this article, learn how to apply the open source tools cnee and Perl in mouse-click dynamics to measure the more subtle characteristics of human-computer interaction.


