- guestbook.cgi calls the file
cgi-lib.pl
- cgi-lib.pl Reads the input from the form and puts the info
into Associstive Arrays.
- Associative arrays are Weirdo Perl constructs in which
and array has a "Key" and a "Value" instead of an "Index" and
a "Value" that We're used to.
For example:
input{key} = value
input{name} = Dinsdale;
print "input{name}\n";
Prints out "Dinsdale" to the console.
or
print "input{Dinsdale}\n";
Prints out "name" to the console.
Which is really cool since that's the same way Forms likes to send info!
Now we can print out data based on what "names" we used for out forms.
To return to the earlier forms: