all in wget http://home.adelphi.edu/~pe16132/csc271/note/scripts/perl
Note, because perl scripts execute upon wget, download the tar file instead wget http://home.adelphi.edu/~pe16132/csc271/note/scripts/perl/perlscripts.tar.gz
and then unzip with $ tar xvfz perlscripts.tar.gz
first program | wget http://home.adelphi.edu/~pe16132/csc271/note/scripts/perl/hello.pl |
read from screen and variables and print | wget http://home.adelphi.edu/~pe16132/csc271/note/scripts/perl/quadeval.pl |
joke example of program control : if, while, read from a file | wget http://home.adelphi.edu/~pe16132/csc271/note/scripts/perl/joke.p |
loop control and exiting | wget http://home.adelphi.edu/~pe16132/csc271/note/scripts/perl/contEx.pl |
arrays | wget http://home.adelphi.edu/~pe16132/csc271/note/scripts/perl/test_median.pl |
arrays - get values from screen; sort | wget http://home.adelphi.edu/~pe16132/csc271/note/scripts/perl/proccess_names.pl |
read from a file ; regex; split; |
wget http://home.adelphi.edu/~pe16132/csc271/note/scripts/perl/wages.pl wget http://home.adelphi.edu/~pe16132/csc271/note/scripts/perl/employees.txt |
read from a file and array |
wget http://home.adelphi.edu/~pe16132/csc271/note/scripts/perl/word_table.pl wget http://home.adelphi.edu/~pe16132/csc271/note/scripts/perl/word.txt |
env variables | wget http://home.adelphi.edu/~pe16132/csc271/note/scripts/perl/showEnv.pl |
grep | wget http://home.adelphi.edu/~pe16132/csc271/note/scripts/perl/sgrep.pl |
file i/o copy one file to another | wget http://home.adelphi.edu/~pe16132/csc271/note/scripts/perl/simple_copy.pl |
file i/o copy in place | wget http://home.adelphi.edu/~pe16132/csc271/note/scripts/perl/simple_copy_in_place.pl |
grep | wget http://home.adelphi.edu/~pe16132/csc271/note/scripts/perl/sgrep.pl |
database connection | wget http://home.adelphi.edu/~pe16132/csc271/note/scripts/perl/dbsimple.pl |
sample perl web project |
wget http://home.adelphi.edu/~pe16132/csc271/note/scripts/perl/dbproject2/z.txt (note that z.pl is a perl script but renamed to .txt to have no problem with wget) wget http://home.adelphi.edu/~pe16132/csc271/note/scripts/perl/dbproject2/movies.txt wget http://home.adelphi.edu/~pe16132/csc271/note/scripts/perl/dbproject2/streams.txt wget http://home.adelphi.edu/~pe16132/csc271/note/scripts/perl/dbproject2/assoclist.txt |
Hello world web page | wget http://home.adelphi.edu/~pe16132/csc271/note/scripts/perl/helloworld.pl |