Technology Expertise

Perl / CGI

The name is occasionally given as "PERL" (for Practical Extraction and Report Language). Perl is a general-purpose programming language originally developed for text manipulation and now used for a wide range of tasks including system administration, web development, network programming, GUI development, and more.

Features of Perl / CGI

Its major features include support for multiple programming paradigms procedural, object-oriented, and functional styles.

It is also an integral component of the popular LAMP solution stack for web development. Large projects written in Perl include Slash, Bugzilla, TWiki and Movable Type. Many high-traffic websites use Perl extensively.

WHY Perl / CGI?

Many websites use the Common Gateway Interface (CGI) to provide dynamic web pages to their users, and the Perl programming language is a common choice for various reasons including:

  • Simple, powerful string manipulation
  • Rapid prototype design goals
  • Flexible pattern matching and substitution (regular expressions)
  • Extensive add-on libraries (CPAN)
  • Multi-platform deployment with minimal fuss
  • Abstracted database access (DBI::DBD)
  • Web server integration (Apache+mod_perl, IIS+PerlEx)
  • Safe garbage collection (no buffer-related security holes)
  • Simple integration with C and C++ for speed

Perl CGI session

A typical Perl CGI session goes something like this: