#!/usr/bin/perl $course = "CSC 211, 2013F"; @areas = ("Home", "Schedule", "Assignments", "Reading journal", "Labs", "Syllabus", "Contact"); %links = ("Home" => "index.shtml", "Schedule" => "schedule.shtml", "Assignments" => "assignments", "Reading journal" => "journal", "Labs" => "labs", "Syllabus" => "syllabus.shtml", "Contact" => "contact.shtml" ); print "Content-type: text/html\n\n"; #http://www.mediacollege.com/internet/perl/query-string.html if (length ($ENV{'QUERY_STRING'}) > 0){ $buffer = $ENV{'QUERY_STRING'}; @pairs = split(/&/, $buffer); foreach $pair (@pairs){ ($name, $value) = split(/=/, $pair); $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; $in{$name} = $value; } } $page = $in{"page"}; $page_area = $in{"page_area"}; $in_subdir = $in{"in_subdir"}; if ($in_subdir) { $prefix = '../'; } else { $prefix = ''; } sub print_link { ($area, $link) = @_; print "
  • "; if (lc($page) eq lc($area)) { print ''; } else { print ""; } print $area; print "
  • \n"; } print "\n"; # Navbar print "\n"; # Breadcrumbs print " END

    Contacting the instructor

    Instructor: Janet Davis
    Office: Science 3809
    Phone: x4306
    Email: davisjan@cs.grinnell.edu
    Office hours: Posted weekly on my door; you may also email me with 3-4 possible times for an appointment outside of office hours. See also my Google calendar.

    I expect to stay in touch with students throughout the term.  Please come by during my office hours to discuss course content, to talk about how the course is going, or to seek academic advice. 

    My office hours will be posted weekly outside my office (Science 3809); if you wish, you may sign up for one or two 15-minute slots. You may also email me (davisjan@cs.grinnell.edu) to schedule an appointment outside of office hours; please include 3-4 possible meeting times so that I can pick one that works for me.

    Although I very much enjoy getting to know my students, I prefer to reserve office hours for academic matters and advising.  If you would like to have a conversation in a more informal setting, please consider inviting me to eat lunch with you or joining me for one of my daily walks. I also read plans, though I intend to limit my time spent doing so.

    As a rule, email is the most reliable way to get in touch with me.  However, please allow 24 hours for my response, and note that I rarely read email between Friday evening and Sunday evening. You may also call me in my office (x4306) between 8 a.m. and 5:30 p.m. for more urgent matters.


    Janet Davis (davisjan@cs.grinnell.edu)

    Created January 19, 2007
    Last revised August  22, 2013