Next: Setting up CGI Scripts
 Up: CGI Scripting
 Previous: Writing and Running CGI
We will creating CGI scripts in Perl.
Perl has become the default language for creating CGI scripts as it has many useful features and a
rich set of libraries.
On the Macintosh Computers there is a package called MacPerl that is used to create Perl CGI
scripts.
On UNIX perl scripts are executed by a special program supplied on the system.
You will have to get used to Both mechanisms in this course.
The basic cycle of perl script development recommended for this course is:
- 1.
 - Write and create Perl scripts in MacPerl.
 - 2.
 - Test, run and debug Perl script in MacPerl.
 - 3.
 - Create a Macintosh compatible Perl CGI script.
 - 4.
 - Install CGI script on Macintosh.
 - 5.
 - Test CGI script and associated HTML on Macintosh Personal Web Server.
 - 6.
 - For permanent storage or permanent Web distribution, FTP perl script and HTML to COMSC UNIX Web
Server
-  As with HTML home pages there are two distinct ways to serve CGI (Local (Project) and Global
(Public)) scripts.
 -  HTML files  must be placed in special directories.
 -  Perl scripts must be place in special directories (different from HTML).
 
 
 
 
   
 Next: Setting up CGI Scripts
 Up: CGI Scripting
 Previous: Writing and Running CGI
Dave Marshall
9/28/2001