Prev Up Next
Go backward to 4.17 awk
Go up to 4 Labs
Go forward to 4.19 System Administration

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://red.cscwc.pima.edu/pub/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** Red's Home page** The Pima College Site

Prev Up Next