$variable?
In the script, you will see in this primer that most things you need to fill out will look like this...
$variable = "line";
What this means is somewhere in the script it requires you to tell the script what to do. For instance, if you were to have a program that prints your name, it would ask you this...
$myname = "Ah Beng";
And somewhere in the script will be the line...
print "Hello! My name is $myname\n";
See how the scripts see "Hello! My name is $myname" but it also sees that
$myname
equals "Bob Smith" (do not worry about "\n").
Path and URL
CGI often asks you to specify the path or URL to an HTML or another CGI
page.
It is important to distinguish between these two.
A path is directly relative to the current document. This is the path allocated
by
your server. For example, a path will look something like...
/usr/www/docs/someone/
A URL (Uniform Resource Locator), on the other hand, looks like...
http://www.webpedia.com/cgi-bin/perl.cgi