Sep 9 -- ports -- discuss (briefly) firewalls, ports, iptables on cs.marlboro.edu mention lynx mention wget, curl show a demo of nc on cs: $ nc -l -p 8100 on laptop: $ nc cs.marlboro.edu 8100 -- perl -- * hashes * subroutines other basic programming topics you'll want to explore * loops * conditionals for, if * file i/o give a simple example; discuss "chomp". open INPUT, "filename" or die "Oops couldn't open INPUT ... "; my $line = ; chomp($line); # ... open OUTPUT, ">filename" or die "Oops couldn't open OUTPUT ... "; print OUTPUT $line; # No comma between OUTPUT and $line !! In class : * write a program to print a table of squares * on cs.marlboro.edu, /usr/share/dict/words has one perl line. Write a program to print a random sentence. - How do we make the first letter upper case? (Google: "perl convert word uppercase, perldoc.com manual perlfunc) - How do we pick a random number? (Google: "perl random number" - How many lines are there in the dictionary? - text editor, or - program to count 'em.