Perl Basics for Biologists
Lecture notes for the course
Computer Modeling of Macromolecular Structure and Function
Bioinformatics on the Web
HBCG 6206/HBCG 6338
Spring 2008
Prepared by
David Power, Ph.D. Jan. 2008
tdpower@utmb.edu
Introduction
Where to get the latest perl
A First Perl Program
Scalars
Strings
Numbers
Scalar Variables
Arrays
Array Variables
Array
Functions
Hash
Regular Expressions
Pattern Matching example
Substring function
Loops
Subroutines
Defining Subroutines
Returning Values
Examples
Perl I/O
Homework
BioPerl
Examples