|  |  |  | 4.15 perl-- A programming Language | 
4.15 perl -- A programming Language
 
perl is a
programming language developed and supported by Larry Wall currently
employed by O'Reilly & Associates, Inc..  It is an interpreted programming language
with good string handling capabilities.  It accounts for a lot of the CGI
programming that is done on the WWW. 
Look at these two books:
You may also want to look at the URLs: 
There are two programs you may want to look at:
 
- s2p-- for converting- sedprograms to- perl
- a2p-- for converting- awkprograms to- perl
In this lab I would like you to:
- Create the directory cgi-bin in your existing directory
      ~/public_html/.
- Make this new directory your working directory. 
- copy over perl.cgi from the ftp site:
 ftp://lt.tucson.az.us/pub/perl.cgi or from 
/home/cis137/perl.cgi
cp /home/cis137/perl.cgi .
 
- Place perl.cgi and the sed and 
awk data files in your directory public_html/cgi-bin
directory.
- Set the permissions so that you can run the program as a CGI script.
Set the data files to world readable.  
When the program is run it will not be run as you.
- Modify the program so that it does the last part of the awklab,
NOT theawkprogram that I wrote.
- Add your name and the class number, "CIS137", to your output. 
- Turn in a printed output of your results from a web browser.  The
URL to access your page will be:
http://gort.wcn.pima.edu/~user-name/cgi-bin/perl.cgi
 
your-name
TABER CIS137
Lab 4.15: perl 
Instructor: Louis Taber, ltaber(at)uml.lt.Tucson.AZ.us (520) 206-6850
My new web Home page in Cleveland, OH 
The Pima Community College web site
    |  |  |  | 4.15 perl-- A programming Language |