4.19 System Administration4 Labs4.17 awk4.18 Perl

4.18 Perl

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:

In this lab I would like you to:

  1. copy over perl.cgi from the ftp site:
    ftp://phRed.dcccd.edu/pub/ltaber/perl.cgi or from /home/csc137/perl.cgi
    cp /home/csc137/perl.cgi .
    
  2. Place perl.cgi and the sed and awk data files in your public_html directory.
  3. 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.
  4. Modify the program so that it does the last part of the awk lab, NOT the awk program that I wrote.
  5. Add your name and the class number, "CSC137", to your output.
  6. Turn in a printed output of your results from a web browser. The URL to access your page will be:
    http://gort.cscwc.pima.edu/~user-name/perl.cgi
    
your-name
TABER CSC137
Lab 4.18: perl 

Instructor: ltaber@pima.edu** My new Home on phRed** The Pima College Site** The Mad Dr. G.'s home page on phred.

4.19 System Administration4 Labs4.17 awk4.18 Perl