GUIDE

What is a perl script ?

Perl stands for Practical Extraction and Report Language. It was ment to generate reports for unix administrators but with the advent of the Internet, it also became the favoured programming language to generate dynamic html pages. A lot of work has since gone into the development of perl and it support nearly every platform and database available.

The typical hello.cgi perl/cgi script will have.

#!/usr/bin/perl

print "Content-type: text/html\n\n";

print "Hello World";

- The location of the perl binary

- The type of output the script is going to give, here text or html

- The actual output

Back to Guide