Introduction To Perl Syllabus


 

Day 1 (html):

Day 1 (ppt):

á      What is Perl?

á      Why do Biologists use Perl?

á      How to use Perl.

á      UNIX Basics:

o      X11

o      Filesystems

o      Essential Commands

o      Text Editors

á      First Program: Hello World!  --- hello_world.pl

á      Script Morphology: basics

á      Data Types: Scalars

á      Scalar Functions  --- scalar.pl

á      Quoting Basics

á      Functions/Subroutines  --- methodsA.pl  methodsB.pl

á      Control Structures: if/else --- if_else.pl

á      Data Types: Boolean --- boolean.pl

á      Inputs --- user_inputs.pl

á      Error Handling  --- error_handling_one.pl

á      ---

á      Exercises: String Manipulation Solution Simple Calculation Solution

Example Scripts Archive

 

 

Day 2:

Day 2 (ppt):

á      Data Types:

o      Lists/Arrays -- array_functions.pl

o      Hash --- hash.pl

á      Variable Scope --- scope.pl --- scope2.pl

á      Operators --- operators.pl

á      Control Structures:

o      While --- while.pl

o      Foreach --- foreach.pl

o      For --- for.pl

á      File Handles --- read_file.pl --- write_file.pl --- append_to_file.pl

á      Exercise and Solution with counters & Solution with hash

 

 

Day 3: Regular Expression(html):

Day 3: Regular Expression(ppt):


á      Metacharacters --- meta.pl

á      Substitutions --- sub.pl

á      Translations --- tran.pl

á      Splits and Joins --- split.pl

á      Exercise and Solution

 


Day 4(html):

Day 4(ppt):


á      Modules ---module_test.pl

á      Install Modules

á      Bioperl ---bioperl_test.pl

á      Q & A

 

Helpful Links

Regular Expression Overview: http://www.troubleshooters.com/codecorn/littperl/perlreg.htm


Regular Expression Examples: http://en.wikipedia.org/wiki/Perl_regular_expression_examples

 

Advanced Perl Course Docs: http://www.trii.org/courses/perlcourse_anton/

 

Perl Docs: http://perldoc.perl.org/

 

Perl Monks: http://www.perlmonks.com [GREAT site for Perl help]

 

How Perl Saved the Human Genome:  mirror at Stanford

 

Perl Module Repository: http://www.cpan.org/

 

Perl on windows: http://www.sthomas.net/oldpages/roberts-perl-tutorial.htm

 

Emacs Quick Ref: http://www.ews.uiuc.edu/ews/manual/qr-emacs.html