home -- outline -- lectures -- assignments -- discussion -- tips -- links -- | |
![]() ![]() | |
![]() |
To use the CGI libaries to read input from forms note the following
example:
#! /opt/local/bin/perl
This will put in the variable "$first_name" the value of the form
element "first" and in put in the variable "$last_name" the value of
the form element "last". This works with either the post or get
methods and will do the appropriate translations to get spaces and
other special characters correct.
If you have downloaded the Sambar server for Windows 95/98 it comes
with Perl but without the Perl libraries. For this you should download
unzip the file perllib.zip, extracting it
into directory |